[Debug] fix test
This commit is contained in:
parent
261a939ea6
commit
16a76739c0
@ -68,7 +68,7 @@ class ClassNotFoundFatalErrorHandlerTest extends TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->assertInstanceOf('Symfony\Component\Debug\Exception\ClassNotFoundException', $exception);
|
$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['type'], $exception->getSeverity());
|
||||||
$this->assertSame($error['file'], $exception->getFile());
|
$this->assertSame($error['file'], $exception->getFile());
|
||||||
$this->assertSame($error['line'], $exception->getLine());
|
$this->assertSame($error['line'], $exception->getLine());
|
||||||
|
Reference in New Issue
Block a user