Starting to fix SecurityComponent test case. SessionComponent still causing lots of trouble.

This commit is contained in:
mark_story 2010-07-04 20:34:07 -04:00
parent fa8a43f038
commit ca65faef36

View file

@ -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');