mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX: Fixed test runner's handling of errors
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60410 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4c4c20919f
commit
9b7bf6a187
@ -121,6 +121,10 @@ class TestRunner extends Controller {
|
||||
class_exists($className);
|
||||
$suite->addTest(new PHPUnit_Framework_TestSuite($className));
|
||||
}
|
||||
|
||||
// Remove the error handler so that PHPUnit can add its own
|
||||
restore_error_handler();
|
||||
|
||||
/*, array("reportDirectory" => "/Users/sminnee/phpunit-report")*/
|
||||
$reporter = new SapphireTestReporter();
|
||||
$results = new PHPUnit_Framework_TestResult();
|
||||
|
Loading…
x
Reference in New Issue
Block a user