Permalink
Browse files

BUGFIX Restoring system error handlers in bootstrap.php so running te…

…sts through the phpunit binary behaves the same way as TestRunner (specifically to fix DeprecationTest on our CI infrastructure)
  • Loading branch information...
1 parent f71781d commit 34686ca1dc52d334f9dc366bf4ad2770a68b1687 @chillu chillu committed Dec 4, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 tests/bootstrap.php
View
@@ -32,4 +32,7 @@
$_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();

0 comments on commit 34686ca

Please sign in to comment.