Skip to content

Commit

Permalink
fix failing testLogError
Browse files Browse the repository at this point in the history
  • Loading branch information
alfaburro committed Aug 24, 2014
1 parent f0f1531 commit 85cd113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Test/Case/BasicsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 85cd113

Please sign in to comment.