Skip to content

Commit

Permalink
Fix: Use assertStringContainsString()
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Oct 21, 2020
1 parent 92ee887 commit 2193f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Integration/Command/NormalizeCommandTest.php
Expand Up @@ -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());
}

Expand Down

0 comments on commit 2193f4e

Please sign in to comment.