BUGFIX Restoring system error handlers in bootstrap.php so running tests through the phpunit binary behaves the same way as TestRunner (specifically to fix DeprecationTest on our CI infrastructure)

This commit is contained in:
Ingo Schommer 2011-12-04 13:10:28 +01:00
parent f71781d95a
commit 34686ca1dc
1 changed files with 4 additions and 1 deletions

View File

@ -32,4 +32,7 @@ if(!class_exists('Object')) {
$_SERVER['REQUEST_URI'] = BASE_URL . '/dev';
TestRunner::use_test_manifest();
TestRunner::use_test_manifest();
// Remove the error handler so that PHPUnit can add its own
restore_error_handler();