You are here

protected function MigrateTestBase::tearDown in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::tearDown()
  2. 9 core/modules/migrate/tests/src/Kernel/MigrateTestBase.php \Drupal\Tests\migrate\Kernel\MigrateTestBase::tearDown()

File

core/modules/migrate/tests/src/Kernel/MigrateTestBase.php, line 106

Class

MigrateTestBase
Creates abstract base class for migration tests.

Namespace

Drupal\Tests\migrate\Kernel

Code

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