Skip to content

Commit

Permalink
Fixing failing test, because I forgot to update it earlier.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jun 20, 2011
1 parent ed8ccc2 commit 72ca894
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1050,7 +1050,7 @@ public function testCsrfSettings() {
$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');
}

/**
Expand Down

0 comments on commit 72ca894

Please sign in to comment.