Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
remove unnecessary lines
  • Loading branch information
rchavik committed Jun 4, 2012
1 parent 9bafc5a commit e821c27
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions lib/Cake/Test/Case/Error/ExceptionRendererTest.php
Expand Up @@ -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);

Expand Down

0 comments on commit e821c27

Please sign in to comment.