Skip to content

Commit

Permalink
Adding a skip when AppError is present, as its behaviour is unknown.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 3, 2010
1 parent 8c428ff commit af87e5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cake/tests/cases/libs/error_handler.test.php
Expand Up @@ -236,6 +236,9 @@ function teardown() {
* @return void
*/
function testHandleException() {
if ($this->skipIf(file_exists(APP . 'app_error.php'), 'App error exists cannot run.')) {
return;
}
$error = new Error404Exception('Kaboom!');
ob_start();
ErrorHandler::handleException($error);
Expand Down

0 comments on commit af87e5d

Please sign in to comment.