mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
fix ErrorHandlerTest
This commit is contained in:
parent
bb090c54cf
commit
68b49950af
1 changed files with 6 additions and 1 deletions
|
@ -48,6 +48,9 @@ class ErrorHandlerTest extends CakeTestCase {
|
|||
$request->base = '';
|
||||
Router::setRequestInfo($request);
|
||||
Configure::write('debug', 2);
|
||||
|
||||
CakeLog::disable('stdout');
|
||||
CakeLog::disable('stderr');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -60,6 +63,8 @@ class ErrorHandlerTest extends CakeTestCase {
|
|||
if ($this->_restoreError) {
|
||||
restore_error_handler();
|
||||
}
|
||||
CakeLog::enable('stdout');
|
||||
CakeLog::enable('stderr');
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -221,7 +226,7 @@ class ErrorHandlerTest extends CakeTestCase {
|
|||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testLoadPluginHanlder() {
|
||||
public function testLoadPluginHandler() {
|
||||
App::build(array(
|
||||
'Plugin' => array(
|
||||
CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS
|
||||
|
|
Loading…
Reference in a new issue