function startTest($method) { ModularAuthUtility::registerObject('Auth', $this->Auth); ModularAuthUtility::registerObject('Controller', $this->Controller); $this->Authenticators = new ModularAuthenticators(); $this->Auth->Authenticators = $this->Authenticators; parent::startTest($method); }
function startTest($method = null) { $this->Component = new MockBaseModularAuthComponent(); parent::startTest($method); }