Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove unnecessary lines

  • Loading branch information...
commit e821c27f54218a9bdbbf3e5bc4942fe0165cddcb 1 parent 9bafc5a
Rachman Chavik rchavik authored
Showing with 1 addition and 14 deletions.
  1. +1 −14 lib/Cake/Test/Case/Error/ExceptionRendererTest.php
15 lib/Cake/Test/Case/Error/ExceptionRendererTest.php
View
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.