diff --git a/cake/tests/cases/libs/error_handler.test.php b/cake/tests/cases/libs/error_handler.test.php index 9030e6c21..61d77dda1 100644 --- a/cake/tests/cases/libs/error_handler.test.php +++ b/cake/tests/cases/libs/error_handler.test.php @@ -236,6 +236,9 @@ class ErrorHandlerTest extends CakeTestCase { * @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);