Browse Source

Merge pull request #14191 from cakephp/debugger-test

Reset default Debugger output format in unit test
Mark Story 6 years ago
parent
commit
fbc61ee73d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/TestCase/Error/DebuggerTest.php

+ 2 - 0
tests/TestCase/Error/DebuggerTest.php

@@ -270,6 +270,8 @@ class DebuggerTest extends TestCase
         $result = ob_get_clean();
         $this->assertStringContainsString('Notice: I eated an error', $result);
         $this->assertStringContainsString('DebuggerTest.php', $result);
+
+        Debugger::setOutputFormat('js');
     }
 
     /**