[Debug] fix test

This commit is contained in:
Christian Flothmann 2020-09-08 15:04:06 +02:00
parent 261a939ea6
commit 16a76739c0

View File

@ -68,7 +68,7 @@ class ClassNotFoundFatalErrorHandlerTest extends TestCase
}
$this->assertInstanceOf('Symfony\Component\Debug\Exception\ClassNotFoundException', $exception);
$this->assertEquals($translatedMessage, $exception->getMessage());
$this->assertMatchesRegularExpression($translatedMessage, $exception->getMessage());
$this->assertSame($error['type'], $exception->getSeverity());
$this->assertSame($error['file'], $exception->getFile());
$this->assertSame($error['line'], $exception->getLine());