public function endTest($method = null) { $this->Model = null; $this->Behavior = null; ClassRegistry::flush(); parent::endTest($method); }
/** * tearDown method * * @return void */ public function endTest($method) { Cache::clear(false, 'database_test'); Configure::write('Cache.disable', $this->_cacheDisable); Cache::drop('database_test'); Cache::config('default'); parent::endTest($method); }
public function endTest($method = null) { unset($this->{$this->modelName}); ClassRegistry::flush(); parent::endTest($method); }
public function endTest($method = null) { $this->shutdownController(); ClassRegistry::flush(); parent::endTest($method); }
public function endTest($method = null) { AutoSlugRoute::clearCache('AutoSlugRouteTestPost'); AutoSlugRoute::clearCache('AutoSlugRouteTestPostBody'); parent::endTest($method); }
public function endCase() { MockTransactionManager::destructs(); parent::endCase(); }
public function endTest($method = null) { MultiSlugRoute::clearCacheAll(); MultiSlugRoute::flush(); parent::endTest($method); }