Adding a skip when AppError is present, as its behaviour is unknown.

This commit is contained in:
Mark Story 2010-09-03 15:35:11 -04:00
parent 8c428ff8a8
commit af87e5d5bc

View file

@ -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);