Пример #1
0
 public function endTest($method = null)
 {
     $this->Model = null;
     $this->Behavior = null;
     ClassRegistry::flush();
     parent::endTest($method);
 }
Пример #2
0
 /**
  * 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);
 }
Пример #3
0
 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);
 }
Пример #5
0
 public function endTest($method = null)
 {
     AutoSlugRoute::clearCache('AutoSlugRouteTestPost');
     AutoSlugRoute::clearCache('AutoSlugRouteTestPostBody');
     parent::endTest($method);
 }
Пример #6
0
 public function endCase()
 {
     MockTransactionManager::destructs();
     parent::endCase();
 }
Пример #7
0
 public function endTest($method = null)
 {
     MultiSlugRoute::clearCacheAll();
     MultiSlugRoute::flush();
     parent::endTest($method);
 }