Skip to content
Permalink
Browse files

Fix a test for PHP5.3

  • Loading branch information...
chinpei215 committed Oct 16, 2016
1 parent 739664d commit 3102d89313729c3a0fa01d020201257dfd1d00b4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Test/Case/Controller/Component/SecurityComponentTest.php
@@ -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);
}

0 comments on commit 3102d89

Please sign in to comment.
You can’t perform that action at this time.