diff --git a/rector.php b/rector.php index 33f5bf9510..48d4f1efd9 100644 --- a/rector.php +++ b/rector.php @@ -22,5 +22,5 @@ phpunit: true, ) ->withPhpSets( - php70: true, + php71: true, ); diff --git a/tests/Integration/Db/RecipientMapperTest.php b/tests/Integration/Db/RecipientMapperTest.php index 96b3d73119..3422621e25 100644 --- a/tests/Integration/Db/RecipientMapperTest.php +++ b/tests/Integration/Db/RecipientMapperTest.php @@ -172,7 +172,7 @@ public function testUpdateRecipients(): void { $penny->setEmail('penny@stardewvalleylibrary.edu'); $penny->setLabel('Penny'); $penny->setType(Recipient::TYPE_TO); - $this->mapper->saveRecipients($message->getId(), [$penny], Recipient::TYPE_BCC); + $this->mapper->saveRecipients($message->getId(), [$penny]); $results = $this->mapper->findByLocalMessageId($message->getId()); $this->assertCount(1, $results);