public function endTest($method)
 {
     SlugCache::clear();
     SlugCache::config($this->slugCache);
     Router::reload();
     unset($this->RouteTest);
 }
Beispiel #2
0
 public function tearDown()
 {
     SlugCache::clear();
     SlugCache::config($this->slugCache);
     Configure::write('Cache.disable', $this->disabled);
     Cache::drop('SluggerTest');
     parent::tearDown();
 }