function MigrateRollbackEntityConfigTest::setUp

Same name in other branches
  1. 8.9.x core/modules/migrate/tests/src/Kernel/MigrateRollbackEntityConfigTest.php \Drupal\Tests\migrate\Kernel\MigrateRollbackEntityConfigTest::setUp()
  2. 10 core/modules/migrate/tests/src/Kernel/MigrateRollbackEntityConfigTest.php \Drupal\Tests\migrate\Kernel\MigrateRollbackEntityConfigTest::setUp()
  3. 11.x core/modules/migrate/tests/src/Kernel/MigrateRollbackEntityConfigTest.php \Drupal\Tests\migrate\Kernel\MigrateRollbackEntityConfigTest::setUp()

Overrides MigrateTestBase::setUp

File

core/modules/migrate/tests/src/Kernel/MigrateRollbackEntityConfigTest.php, line 33

Class

MigrateRollbackEntityConfigTest
Tests rolling back of imports.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('user');
    $this->installEntitySchema('taxonomy_vocabulary');
    $this->installEntitySchema('taxonomy_term');
    $this->installConfig([
        'taxonomy',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.