Skip to content
Permalink
Browse files

fix failing testLogError

  • Loading branch information...
mstra001 committed Aug 24, 2014
1 parent f0f1531 commit 85cd11384a2d0ac6641253cc95d23e4444dddf7e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/BasicsTest.php
@@ -946,7 +946,7 @@ public function testDebug() {
if (php_sapi_name() === 'cli') {
$expected = sprintf($expectedText, str_replace(CAKE_CORE_INCLUDE_PATH, '', __FILE__), __LINE__ - 18);
} else {
$expected = sprintf($expectedHtml, str_replace(CAKE_CORE_INCLUDE_PATH, '', __FILE__), __LINE__ - 19);
$expected = sprintf($expectedHtml, str_replace(CAKE_CORE_INCLUDE_PATH, '', __FILE__), __LINE__ - 20);
}
$this->assertEquals($expected, $result);

0 comments on commit 85cd113

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