Skip to content

Commit 2c9f0af

Browse files
committed
Use assertStringContainsString for asserting strings
1 parent 0d33bec commit 2c9f0af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Laravel5.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ public function seeFormErrorMessage($key, $expectedErrorMessage = null)
734734
}
735735

736736
if (! is_null($expectedErrorMessage)) {
737-
$this->assertContains($expectedErrorMessage, $viewErrorBag->first($key));
737+
$this->assertStringContainsString($expectedErrorMessage, $viewErrorBag->first($key));
738738
}
739739
}
740740

0 commit comments

Comments
 (0)