Skip to content

Commit

Permalink
Fixing issues with CLI test runner where the error handler would cont…
Browse files Browse the repository at this point in the history
…inue to be cakephp's instead of PHPUnit's.
  • Loading branch information
markstory committed Nov 29, 2010
1 parent 1f72e50 commit 43c184b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cake/console/shells/testsuite.php
Expand Up @@ -253,6 +253,10 @@ public function main() {
*/
protected function run($runnerArgs, $options = array()) {
require_once CAKE . 'tests' . DS . 'lib' . DS . 'test_runner.php';

restore_error_handler();
restore_error_handler();

$testCli = new TestRunner($runnerArgs);
$testCli->run($options);
}
Expand Down

0 comments on commit 43c184b

Please sign in to comment.