mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-12 20:49:50 +00:00
Fix a test for PHP5.3
This commit is contained in:
parent
739664d6c7
commit
3102d89313
1 changed files with 1 additions and 1 deletions
|
@ -1854,7 +1854,7 @@ class SecurityComponentTest extends CakeTestCase {
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue