mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing failing test, because I forgot to update it earlier.
This commit is contained in:
parent
ed8ccc2903
commit
72ca89412a
1 changed files with 1 additions and 1 deletions
|
@ -1050,7 +1050,7 @@ class SecurityComponentTest extends CakeTestCase {
|
|||
$token = $this->Security->Session->read('_Token');
|
||||
$this->assertEquals(count($token['csrfTokens']), 1, 'Missing the csrf token.');
|
||||
$this->assertEquals(strtotime('+10 minutes'), current($token['csrfTokens']), 'Token expiry does not match');
|
||||
$this->assertEquals(array('key', 'disabledFields'), array_keys($this->Controller->request->params['_Token']), 'Keys don not match');
|
||||
$this->assertEquals(array('key', 'unlockedFields'), array_keys($this->Controller->request->params['_Token']), 'Keys don not match');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue