[Debug] fix test

This commit is contained in:
Nicolas Grekas 2015-01-04 15:59:17 +01:00
parent de14c14daf
commit a2435a78e3
1 changed files with 2 additions and 0 deletions

View File

@ -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);