Reset exception handler in tests setup

This commit is contained in:
Romain Neutron
2014-03-05 02:18:18 +01:00
parent 975e8bd3c5
commit 297a08492a

View File

@@ -110,6 +110,8 @@ abstract class PhraseanetPHPUnitAbstract extends WebTestCase
connection::close_connections();
error_reporting(-1);
set_exception_handler(null);
\PHPUnit_Framework_Error_Warning::$enabled = true;
\PHPUnit_Framework_Error_Notice::$enabled = true;