mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Fix AuthComponent tests for windows newlines.
This commit is contained in:
parent
e41e89cd2a
commit
26d526f624
1 changed files with 1 additions and 1 deletions
|
@ -1456,7 +1456,7 @@ class AuthTest extends CakeTestCase {
|
|||
$Dispatcher =& new Dispatcher();
|
||||
$Dispatcher->dispatch('/ajax_auth/add', array('return' => 1));
|
||||
$result = ob_get_clean();
|
||||
$this->assertEqual("Ajax!\nthis is the test element", $result);
|
||||
$this->assertEqual("Ajax!\nthis is the test element", str_replace("\r\n", "\n", $result));
|
||||
unset($_SERVER['HTTP_X_REQUESTED_WITH']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue