Skip to content

Commit

Permalink
Fix a test for PHP5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
chinpei215 committed Oct 16, 2016
1 parent 739664d commit 3102d89
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1854,7 +1854,7 @@ public function testValidatePostUnexpectedDebugToken() {
public function testAuthRequiredThrowsExceptionTokenNotFoundPost() {
$this->Controller->Security->requireAuth = array('protected');
$this->Controller->request->params['action'] = 'protected';
$this->Controller->request->data = 'notEmpty';
$this->Controller->request->data = array('some-key' => 'some-value');
$this->Controller->Security->authRequired($this->Controller);
}

Expand Down

0 comments on commit 3102d89

Please sign in to comment.