refactor: Apply PHP7.1 sets
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Родитель
de41b51160
Коммит
bfaddda421
|
@ -22,5 +22,5 @@ return RectorConfig::configure()
|
|||
phpunit: true,
|
||||
)
|
||||
->withPhpSets(
|
||||
php70: true,
|
||||
php71: true,
|
||||
);
|
||||
|
|
|
@ -172,7 +172,7 @@ class RecipientMapperTest extends TestCase {
|
|||
$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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче