mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
fix failing testLogError
This commit is contained in:
parent
f0f1531fac
commit
85cd11384a
1 changed files with 1 additions and 1 deletions
|
@ -946,7 +946,7 @@ EXPECTED;
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue