Skip to content

Commit 9445bd1

Browse files
committed
Updating test case for new values in error reporting.
1 parent 5bfda28 commit 9445bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cake/tests/cases/libs/configure.test.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function testSetErrorReportingLevel() {
162162

163163
Configure::write('debug', 2);
164164
$result = ini_get('error_reporting');
165-
$this->assertEqual($result, E_ALL);
165+
$this->assertEqual($result, E_ALL & ~E_DEPRECATED);
166166

167167
$result = ini_get('display_errors');
168168
$this->assertEqual($result, 1);

0 commit comments

Comments
 (0)