mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
Starting to fix SecurityComponent test case. SessionComponent still causing lots of trouble.
This commit is contained in:
parent
fa8a43f038
commit
ca65faef36
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ class SecurityComponentTest extends CakeTestCase {
|
|||
*/
|
||||
function startTest() {
|
||||
$this->Controller =& new SecurityTestController();
|
||||
$this->Controller->Component->init($this->Controller);
|
||||
$this->Controller->Components->init($this->Controller);
|
||||
$this->Controller->Security =& $this->Controller->TestSecurity;
|
||||
$this->Controller->Security->blackHoleCallback = 'fail';
|
||||
$this->oldSalt = Configure::read('Security.salt');
|
||||
|
|
Loading…
Add table
Reference in a new issue