diff --git a/lib/Cake/Test/Case/Utility/DebuggerTest.php b/lib/Cake/Test/Case/Utility/DebuggerTest.php index f537aca12..983eaedc7 100644 --- a/lib/Cake/Test/Case/Utility/DebuggerTest.php +++ b/lib/Cake/Test/Case/Utility/DebuggerTest.php @@ -203,10 +203,10 @@ class DebuggerTest extends CakeTestCase { $data = array( 'error' => array(), - 'code' => array(), '8', '/code', + 'code' => array(), '2', '/code', 'file' => array(), 'preg:/[^<]+/', '/file', 'line' => array(), '' . ((int)__LINE__ - 7), '/line', - 'preg:/Undefined variable:\s+foo/', + 'preg:/Undefined variable\s+\$foo/', '/error' ); $this->assertTags($result, $data, true); @@ -262,10 +262,10 @@ class DebuggerTest extends CakeTestCase { $data = array( 'assertTags($result, $data, true); @@ -286,7 +286,7 @@ class DebuggerTest extends CakeTestCase { ob_start(); $foo .= ''; $result = ob_get_clean(); - $this->assertStringContainsString('Notice: I eated an error', $result); + $this->assertStringContainsString('Warning: I eated an error', $result); $this->assertStringContainsString('DebuggerTest.php', $result); }