Skip to content
Permalink
Browse files

remove unnecessary lines

  • Loading branch information...
rchavik committed Jun 4, 2012
1 parent 9bafc5a commit e821c27f54218a9bdbbf3e5bc4942fe0165cddcb
Showing with 1 addition and 14 deletions.
  1. +1 −14 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.
You can’t perform that action at this time.