From a2435a78e3819cddaa3ff9b636ad23dbb65ec0fa Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sun, 4 Jan 2015 15:59:17 +0100 Subject: [PATCH] [Debug] fix test --- src/Symfony/Component/Debug/Tests/ErrorHandlerTest.php | 2 ++ 1 file changed, 2 insertions(+) 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);