diff options
Diffstat (limited to 'build/integration/features/bootstrap/CommandLine.php')
-rw-r--r-- | build/integration/features/bootstrap/CommandLine.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/build/integration/features/bootstrap/CommandLine.php b/build/integration/features/bootstrap/CommandLine.php index 0320f68f340..cba254551e0 100644 --- a/build/integration/features/bootstrap/CommandLine.php +++ b/build/integration/features/bootstrap/CommandLine.php @@ -141,13 +141,13 @@ trait CommandLine { * @Then /^the command output contains the text "([^"]*)"$/ */ public function theCommandOutputContainsTheText($text) { - Assert::assertContains($text, $this->lastStdOut, 'The command did not output the expected text on stdout'); + Assert::assertStringContainsString($text, $this->lastStdOut, 'The command did not output the expected text on stdout'); } /** * @Then /^the command error output contains the text "([^"]*)"$/ */ public function theCommandErrorOutputContainsTheText($text) { - Assert::assertContains($text, $this->lastStdErr, 'The command did not output the expected text on stderr'); + Assert::assertStringContainsString($text, $this->lastStdErr, 'The command did not output the expected text on stderr'); } } |