diff --git a/tests/unit/Framework/TestCaseTest.php b/tests/unit/Framework/TestCaseTest.php index f879b586590..8f4383ced9f 100644 --- a/tests/unit/Framework/TestCaseTest.php +++ b/tests/unit/Framework/TestCaseTest.php @@ -254,7 +254,7 @@ public function testExceptionWithWrongMessage() $this->assertEquals(1, $result->failureCount()); $this->assertCount(1, $result); $this->assertEquals( - "Failed asserting that exception message 'A runtime error occurred' equals 'A logic error occurred'.", + "Failed asserting that exception message 'A runtime error occurred' contains 'A logic error occurred'.", $test->getStatusMessage() ); }