diff --git a/tests/Unit/Controller/DraftsControllerTest.php b/tests/Unit/Controller/DraftsControllerTest.php index 4904204d7c..345f1c372c 100644 --- a/tests/Unit/Controller/DraftsControllerTest.php +++ b/tests/Unit/Controller/DraftsControllerTest.php @@ -217,6 +217,7 @@ public function testCreate(): void { $message->setType(LocalMessage::TYPE_DRAFT); $message->setSendAt(null); $message->setUpdatedAt(123456); + $message->setRequestMdn(false); $to = [['label' => 'Lewis', 'email' => 'tent@stardewvalley.com']]; $cc = [['label' => 'Pierre', 'email' => 'generalstore@stardewvalley.com']]; @@ -264,6 +265,7 @@ public function testCreateFromDraft(): void { $message->setType(LocalMessage::TYPE_DRAFT); $message->setSendAt(null); $message->setUpdatedAt(123456); + $message->setRequestMdn(false); $to = [['label' => 'Lewis', 'email' => 'tent@stardewvalley.com']]; $cc = [['label' => 'Pierre', 'email' => 'generalstore@stardewvalley.com']]; @@ -298,7 +300,8 @@ public function testCreateFromDraft(): void { $message->getInReplyToMessageId(), null, null, - 1 + 1, + false ); $this->assertEquals($expected, $actual); @@ -316,6 +319,7 @@ public function testCreateWithEmptyRecipients(): void { $message->setType(LocalMessage::TYPE_DRAFT); $message->setSendAt(null); $message->setUpdatedAt(123456); + $message->setRequestMdn(false); $account = new Account(new MailAccount()); $this->accountService->expects(self::once()) diff --git a/tests/Unit/Controller/OutboxControllerTest.php b/tests/Unit/Controller/OutboxControllerTest.php index fad2079d84..e4f907ada6 100644 --- a/tests/Unit/Controller/OutboxControllerTest.php +++ b/tests/Unit/Controller/OutboxControllerTest.php @@ -283,6 +283,7 @@ public function testCreate(): void { $message->setSmimeEncrypt(false); $message->setInReplyToMessageId('abc'); $message->setType(LocalMessage::TYPE_OUTGOING); + $message->setRequestMdn(false); $to = [['label' => 'Lewis', 'email' => 'tent@stardewvalley.com']]; $cc = [['label' => 'Pierre', 'email' => 'generalstore@stardewvalley.com']];