Skip to content

Commit 50c3eb9

Browse files
MarioBlazeknicolas-grekas
authored andcommitted
Remove deprecated assertContains
1 parent 6ec3f62 commit 50c3eb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/DeprecationErrorHandler/DeprecationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ public function testLegacyTestMethodIsDetectedAsSuch()
4646
public function testItCanBeConvertedToAString()
4747
{
4848
$deprecation = new Deprecation('💩', $this->debugBacktrace(), __FILE__);
49-
$this->assertContains('💩', $deprecation->toString());
50-
$this->assertContains(__FUNCTION__, $deprecation->toString());
49+
$this->assertStringContainsString('💩', $deprecation->toString());
50+
$this->assertStringContainsString(__FUNCTION__, $deprecation->toString());
5151
}
5252

5353
public function testItRulesOutFilesOutsideVendorsAsIndirect()

0 commit comments

Comments
 (0)