You are here

protected function MigrateTableTest::tearDown in Migrate Plus 8.5

Same name and namespace in other branches
  1. 8.3 tests/src/Kernel/MigrateTableTest.php \Drupal\Tests\migrate_plus\Kernel\MigrateTableTest::tearDown()
  2. 8.4 tests/src/Kernel/MigrateTableTest.php \Drupal\Tests\migrate_plus\Kernel\MigrateTableTest::tearDown()

Overrides MigrateTestBase::tearDown

File

tests/src/Kernel/MigrateTableTest.php, line 101

Class

MigrateTableTest
Tests migration destination table.

Namespace

Drupal\Tests\migrate_plus\Kernel

Code

protected function tearDown() : void {
  $this->sourceDatabase
    ->schema()
    ->dropTable(static::SOURCE_TABLE_NAME);
  $this->connection
    ->schema()
    ->dropTable(static::DEST_TABLE_NAME);
  parent::tearDown();
}