mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
Fixing failing test.
This commit is contained in:
parent
a839c29eb8
commit
c1056676ec
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ class CakeLogTest extends CakeTestCase {
|
||||||
$result = file(LOGS . 'debug.log');
|
$result = file(LOGS . 'debug.log');
|
||||||
$this->assertEqual(count($result), 1);
|
$this->assertEqual(count($result), 1);
|
||||||
$this->assertPattern(
|
$this->assertPattern(
|
||||||
'/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} Debug: Notice \(8\): Undefined variable: out in \[.+ line \d{2}\]$/',
|
'/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} Notice: Notice \(8\): Undefined variable: out in \[.+ line \d{2}\]$/',
|
||||||
$result[0]
|
$result[0]
|
||||||
);
|
);
|
||||||
@unlink(LOGS . 'debug.log');
|
@unlink(LOGS . 'debug.log');
|
||||||
|
|
Loading…
Add table
Reference in a new issue