Cleaned out unecessary code in error.test.php

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6865 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
mark_story 2008-05-14 02:28:01 +00:00
parent 6f4c58377c
commit fcfd9be4bb

View file

@ -52,11 +52,6 @@ class TestErrorController extends TestAppController {
}
}
class TestAppErrorController extends TestAppController {
function apperror($method, $message) {
return sprintf('Error: %s Message: %s', $method, $message);
}
}
/**
* Short description for class.
*
@ -85,7 +80,6 @@ class ErrorHandlerTest extends CakeTestCase {
}
function testError() {
//Cannot test Error currently as calling it creates an exit();
ob_start();
$ErrorHandler = new ErrorHandler('error404', array('message' => 'Page not found'));
ob_clean();