Skip to content
This repository
Browse code

remove unnecessary lines

  • Loading branch information...
commit e821c27f54218a9bdbbf3e5bc4942fe0165cddcb 1 parent 9bafc5a
Rachman Chavik authored June 04, 2012
15  lib/Cake/Test/Case/Error/ExceptionRendererTest.php
@@ -296,21 +296,8 @@ public function testCakeErrorHelpersNotLost() {
296 296
 				$testApp . 'Error' . DS
297 297
 			),
298 298
 		), App::RESET);
299  
-		Configure::write('Error', array(
300  
-			'handler' => 'TestAppsErrorHandler::handleError',
301  
-			'level' => E_ALL & ~E_DEPRECATED,
302  
-			'trace' => true
303  
-		));
304  
-
305  
-		Configure::write('Exception', array(
306  
-			'handler' => 'TestAppsErrorHandler::handleException',
307  
-			'renderer' => 'TestAppsExceptionRenderer',
308  
-			'log' => true
309  
-		));
310  
-
311  
-		App::uses('TestAppsErrorController', 'Controller');
312  
-		App::uses('TestAppsExceptionRenderer', 'Error');
313 299
 
  300
+		App::uses('TestAppsExceptionRenderer', 'Error');
314 301
 		$exception = new SocketException('socket exception');
315 302
 		$renderer = new TestAppsExceptionRenderer($exception);
316 303
 

0 notes on commit e821c27

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