You are here

protected function MigrateTestBase::tearDown in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate/src/Tests/MigrateTestBase.php \Drupal\migrate\Tests\MigrateTestBase::tearDown()

Performs cleanup tasks after each individual test method has been run.

Overrides KernelTestBase::tearDown

File

core/modules/migrate/src/Tests/MigrateTestBase.php, line 101
Contains \Drupal\migrate\Tests\MigrateTestBase.

Class

MigrateTestBase
Base class for migration tests.

Namespace

Drupal\migrate\Tests

Code

protected function tearDown() {
  $this
    ->cleanupMigrateConnection();
  parent::tearDown();
  $this->databaseDumpFiles = [];
  $this->collectMessages = FALSE;
  unset($this->migration, $this->migrateMessages);
}