Skip to content

Commit

Permalink
Remember to restore exception handler in each test.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Nov 1, 2013
1 parent 776fcad commit fd83f89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Cake/Test/TestCase/Error/ErrorHandlerTest.php
Expand Up @@ -64,6 +64,7 @@ public function tearDown() {
Log::drop('error_test');
if ($this->_restoreError) {
restore_error_handler();
restore_exception_handler();
}
}

Expand Down

0 comments on commit fd83f89

Please sign in to comment.