mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-20 08:29:55 +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() {
|
function startTest() {
|
||||||
$this->Controller =& new SecurityTestController();
|
$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 =& $this->Controller->TestSecurity;
|
||||||
$this->Controller->Security->blackHoleCallback = 'fail';
|
$this->Controller->Security->blackHoleCallback = 'fail';
|
||||||
$this->oldSalt = Configure::read('Security.salt');
|
$this->oldSalt = Configure::read('Security.salt');
|
||||||
|
|
Loading…
Add table
Reference in a new issue