mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
parent
f71781d95a
commit
34686ca1dc
@ -33,3 +33,6 @@ if(!class_exists('Object')) {
|
||||
$_SERVER['REQUEST_URI'] = BASE_URL . '/dev';
|
||||
|
||||
TestRunner::use_test_manifest();
|
||||
|
||||
// Remove the error handler so that PHPUnit can add its own
|
||||
restore_error_handler();
|
Loading…
Reference in New Issue
Block a user