[Debug] Fix context dependent test
This commit is contained in:
parent
10882528a8
commit
9fc48b8bb2
@ -428,7 +428,7 @@ class ErrorHandlerTest extends \PHPUnit_Framework_TestCase
|
|||||||
$handler->handleException($exception);
|
$handler->handleException($exception);
|
||||||
|
|
||||||
$this->assertInstanceOf('Symfony\Component\Debug\Exception\ClassNotFoundException', $args[0]);
|
$this->assertInstanceOf('Symfony\Component\Debug\Exception\ClassNotFoundException', $args[0]);
|
||||||
$this->assertSame("Attempted to load class \"Foo\" from the global namespace.\nDid you forget a \"use\" statement?", $args[0]->getMessage());
|
$this->assertStringStartsWith("Attempted to load class \"Foo\" from the global namespace.\nDid you forget a \"use\" statement", $args[0]->getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testHandleFatalErrorOnHHVM()
|
public function testHandleFatalErrorOnHHVM()
|
||||||
|
Reference in New Issue
Block a user