public function endTest($method = null)
 {
     Configure::delete(TestDisableActionsComponent::$testConfigName);
     if ($this->_configBackup !== false) {
         Configure::write(TestDisableActionsComponent::$testConfigName, $this->_configBackup);
     }
     parent::endTest($method);
 }
Example #2
0
 public function endTest($method = null)
 {
     $this->NinjaAuth->Session->delete('Auth');
     $this->NinjaAuth->Session->write('Auth', $this->_sessionBackup);
     parent::endTest($method);
 }
Example #3
0
 public function endTest($method = null)
 {
     parent::endTest($method);
     $_SESSION = $this->_backup;
 }