mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-05 11:02:40 +00:00
remove unnecessary lines
This commit is contained in:
parent
9bafc5a3bb
commit
e821c27f54
1 changed files with 0 additions and 13 deletions
|
@ -296,21 +296,8 @@ class ExceptionRendererTest extends CakeTestCase {
|
|||
$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');
|
||||
|
||||
$exception = new SocketException('socket exception');
|
||||
$renderer = new TestAppsExceptionRenderer($exception);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue