diff --git a/lib/Cake/Test/Case/Utility/DebuggerTest.php b/lib/Cake/Test/Case/Utility/DebuggerTest.php index 983eaedc7..4e6eba8eb 100644 --- a/lib/Cake/Test/Case/Utility/DebuggerTest.php +++ b/lib/Cake/Test/Case/Utility/DebuggerTest.php @@ -165,6 +165,7 @@ class DebuggerTest extends CakeTestCase { $this->_restoreError = true; ob_start(); + Debugger::output('js'); $a = array(); $b = $a['']; $result = ob_get_clean(); @@ -186,6 +187,7 @@ class DebuggerTest extends CakeTestCase { 'traceLine' => '{:reference} - {:path}, line {:line}' )); + Debugger::output('js'); $result = Debugger::trace(); $this->assertMatchesRegularExpression('/' . preg_quote('txmt://open?url=file://', '/') . '(\/|[A-Z]:\\\\)' . '/', $result);