mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing failing test.
This commit is contained in:
parent
149deba416
commit
dbf801b9d4
1 changed files with 2 additions and 3 deletions
|
@ -89,9 +89,8 @@ class DebuggerTest extends CakeTestCase {
|
|||
$this->assertTrue(is_array($result));
|
||||
$this->assertEqual(count($result), 4);
|
||||
|
||||
$expected = '<code><span style="color: #000000"><?php';
|
||||
$expected .= '</span></code>';
|
||||
$this->assertEqual($result[0], $expected);
|
||||
$pattern = '/<code><span style\="color\: \#\d+">.*?<\?php/';
|
||||
$this->assertRegExp($pattern, $result[0]);
|
||||
|
||||
$return = Debugger::excerpt('[internal]', 2, 2);
|
||||
$this->assertTrue(empty($return));
|
||||
|
|
Loading…
Reference in a new issue