From 2193f4e9abc389c5b7c92a48533d09e1d5b35b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 21 Oct 2020 09:19:19 +0200 Subject: [PATCH] Fix: Use assertStringContainsString() --- test/Integration/Command/NormalizeCommandTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Integration/Command/NormalizeCommandTest.php b/test/Integration/Command/NormalizeCommandTest.php index 8857a7ae..6ef8974a 100644 --- a/test/Integration/Command/NormalizeCommandTest.php +++ b/test/Integration/Command/NormalizeCommandTest.php @@ -247,7 +247,7 @@ public function testFailsWhenComposerJsonIsPresentButNotValidAccordingToLaxValid ); self::assertExitCodeSame(1, $exitCode); - self::assertContains('does not match the expected JSON schema', $output->fetch()); + self::assertStringContainsString('does not match the expected JSON schema', $output->fetch()); self::assertEquals($initialState, $scenario->currentState()); }