function tearDown() { // Restore configured value for JavaScript preprocessing. $config = \Drupal::config('system.performance'); $config->set('js.preprocess', $this->preprocess_js); $config->save(); parent::tearDown(); }
protected function tearDown() { // Destruct the registered backend, each test will get a fresh instance, // properly emptying it here ensure that on persistent data backends they // will come up empty the next test. foreach ($this->cachebackends as $bin => $cachebackend) { $this->cachebackends[$bin]->deleteAll(); } unset($this->cachebackends); $this->tearDownCacheBackend(); parent::tearDown(); }
protected function tearDown() { $this->fixtures->dropTables(Database::getConnection()); parent::tearDown(); }