Skip to content
Permalink
Browse files

Avoiding debug output in test log

  • Loading branch information...
lorenzo committed Aug 30, 2014
1 parent 485b7f7 commit cb83b3fe63ab41de4f1b01596c14085dae55a3f3
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/TestCase/Error/DebuggerTest.php
@@ -55,7 +55,8 @@ class DebuggerTest extends TestCase {
public function setUp() {
parent::setUp();
Configure::write('debug', true);
Configure::write('log', false);
Log::drop('stderr');
Log::drop('stdout');
}
/**
@@ -65,7 +66,6 @@ public function setUp() {
*/
public function tearDown() {
parent::tearDown();
Configure::write('log', true);
if ($this->_restoreError) {
restore_error_handler();
}

0 comments on commit cb83b3f

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