From fcfd9be4bb6dace032f74bff61bbad454582dcaa Mon Sep 17 00:00:00 2001 From: mark_story Date: Wed, 14 May 2008 02:28:01 +0000 Subject: [PATCH] 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 --- cake/tests/cases/libs/error.test.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cake/tests/cases/libs/error.test.php b/cake/tests/cases/libs/error.test.php index 8f234f3ce..00f5522f4 100644 --- a/cake/tests/cases/libs/error.test.php +++ b/cake/tests/cases/libs/error.test.php @@ -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();