Permalink
Browse files

Fixing failing test, because I forgot to update it earlier.

  • Loading branch information...
1 parent ed8ccc2 commit 72ca89412aa38917da2eda1c42500ee94ff9515e @markstory markstory committed Jun 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Controller/Component/SecurityComponentTest.php
@@ -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');
}
/**

0 comments on commit 72ca894

Please sign in to comment.