diff options
Diffstat (limited to 'tests/Unit/Mail/Transport/LogTransportTest.php')
-rw-r--r-- | tests/Unit/Mail/Transport/LogTransportTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Unit/Mail/Transport/LogTransportTest.php b/tests/Unit/Mail/Transport/LogTransportTest.php index 5eb3a667..bf3ec5dc 100644 --- a/tests/Unit/Mail/Transport/LogTransportTest.php +++ b/tests/Unit/Mail/Transport/LogTransportTest.php @@ -35,13 +35,13 @@ class LogTransportTest extends TestCase ->method('debug') ->willReturnCallback(function ($message, $context = []) { foreach (array_keys($context) as $key) { - $this->assertContains(sprintf('{%s}', $key), $message); + $this->assertStringContainsString(sprintf('{%s}', $key), $message); } $this->assertEquals('Some subject', $context['title']); $this->assertEquals('foo@bar.batz,Lorem Ipsum <lor@em.ips>', $context['recipients']); - $this->assertContains('Head: er', $context['content']); - $this->assertContains('Message body', $context['content']); + $this->assertStringContainsString('Head: er', $context['content']); + $this->assertStringContainsString('Message body', $context['content']); }); /** @var LogTransport|MockObject $transport */ |