mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix failing test.
This commit is contained in:
parent
92d215df4d
commit
00edc594bf
1 changed files with 5 additions and 2 deletions
|
@ -482,8 +482,11 @@ TEXT;
|
|||
ob_start();
|
||||
Debugger::dump($var);
|
||||
$result = ob_get_clean();
|
||||
|
||||
$open = php_sapi_name() == 'cli' ? "\n" : '<pre>';
|
||||
$close = php_sapi_name() == 'cli' ? "\n" : '</pre>';
|
||||
$expected = <<<TEXT
|
||||
<pre>array(
|
||||
{$open}array(
|
||||
'People' => array(
|
||||
(int) 0 => array(
|
||||
'name' => 'joeseph',
|
||||
|
@ -496,7 +499,7 @@ TEXT;
|
|||
'hair' => 'black'
|
||||
)
|
||||
)
|
||||
)</pre>
|
||||
){$close}
|
||||
TEXT;
|
||||
$this->assertTextEquals($expected, $result);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue