diff --git a/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php b/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php index aae5c0e6a2..663d6cad9e 100644 --- a/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php +++ b/src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php @@ -169,6 +169,8 @@ class ErrorHandlerTest extends \PHPUnit_Framework_TestCase public function testHandleError() { + $this->iniSet('error_reporting', -1); + try { $handler = ErrorHandler::register(); $handler->throwAt(0, true);