Skip to content
Permalink
Browse files

fix ErrorHandlerTest

  • Loading branch information...
rchavik committed May 10, 2012
1 parent bb090c5 commit 68b49950af5f159543268357bd0e7d6f04255243
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/Cake/Test/Case/Error/ErrorHandlerTest.php
@@ -48,6 +48,9 @@ public function setUp() {
$request->base = '';
Router::setRequestInfo($request);
Configure::write('debug', 2);
CakeLog::disable('stdout');
CakeLog::disable('stderr');
}
/**
@@ -60,6 +63,8 @@ public function tearDown() {
if ($this->_restoreError) {
restore_error_handler();
}
CakeLog::enable('stdout');
CakeLog::enable('stderr');
}
/**
@@ -221,7 +226,7 @@ public function testHandleExceptionLog() {
*
* @return void
*/
public function testLoadPluginHanlder() {
public function testLoadPluginHandler() {
App::build(array(
'Plugin' => array(
CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS

0 comments on commit 68b4995

Please sign in to comment.
You can’t perform that action at this time.