Skip to content

Commit 57a02d6

Browse files
MarioBlazeknicolas-grekas
authored andcommitted
Remove deprecated assertContains
1 parent 473723f commit 57a02d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/TransportTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public function testFromDsnAmazonSes()
244244
$this->assertInstanceOf(Amazon\Smtp\SesTransport::class, $transport);
245245
$this->assertEquals('u$er', $transport->getUsername());
246246
$this->assertEquals('pa$s', $transport->getPassword());
247-
$this->assertContains('.sun.', $transport->getStream()->getHost());
247+
$this->assertStringContainsString('.sun.', $transport->getStream()->getHost());
248248
$this->assertProperties($transport, $dispatcher, $logger);
249249

250250
$client = $this->createMock(HttpClientInterface::class);

0 commit comments

Comments
 (0)