Skip to content
Browse files

remove unnecessary lines

  • Loading branch information...
1 parent 9bafc5a commit e821c27f54218a9bdbbf3e5bc4942fe0165cddcb @rchavik rchavik committed
Showing with 1 addition and 14 deletions.
  1. +1 −14 lib/Cake/Test/Case/Error/ExceptionRendererTest.php
View
15 lib/Cake/Test/Case/Error/ExceptionRendererTest.php
@@ -296,21 +296,8 @@ public function testCakeErrorHelpersNotLost() {
$testApp . 'Error' . DS
),
), App::RESET);
- Configure::write('Error', array(
- 'handler' => 'TestAppsErrorHandler::handleError',
- 'level' => E_ALL & ~E_DEPRECATED,
- 'trace' => true
- ));
-
- Configure::write('Exception', array(
- 'handler' => 'TestAppsErrorHandler::handleException',
- 'renderer' => 'TestAppsExceptionRenderer',
- 'log' => true
- ));
-
- App::uses('TestAppsErrorController', 'Controller');
- App::uses('TestAppsExceptionRenderer', 'Error');
+ App::uses('TestAppsExceptionRenderer', 'Error');
$exception = new SocketException('socket exception');
$renderer = new TestAppsExceptionRenderer($exception);

0 comments on commit e821c27

Please sign in to comment.
Something went wrong with that request. Please try again.