/** * {@inheritdoc} */ protected function tearDown() { parent::tearDown(); // Restore the previous container. $this->container = $this->previousContainer; \Drupal::setContainer($this->previousContainer); }
/** * {@inheritdoc} */ protected function tearDown() { Database::removeConnection('migrate'); parent::tearDown(); $this->databaseDumpFiles = []; $this->collectMessages = FALSE; unset($this->migration, $this->migrateMessages); }
protected function tearDown() { $this->fixtures->dropTables(Database::getConnection()); parent::tearDown(); }
/** * {@inheritdoc} */ protected function tearDown() { $this->cleanupMigrateConnection(); parent::tearDown(); $this->databaseDumpFiles = []; $this->collectMessages = FALSE; unset($this->migration, $this->migrateMessages); }
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(); }
/** * {@inheritdoc} */ protected function tearDown() { Database::removeConnection('migrate'); parent::tearDown(); }