[Debug] Fix context dependent test

This commit is contained in:
Nicolas Grekas 2016-06-06 13:49:15 +02:00
parent 10882528a8
commit 9fc48b8bb2
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ class ErrorHandlerTest extends \PHPUnit_Framework_TestCase
$handler->handleException($exception);
$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()