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