You are here

protected function MigrateVocabularyFieldInstanceTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldInstanceTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateVocabularyFieldInstanceTest::setUp()

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateVocabularyFieldInstanceTest.php, line 23

Class

MigrateVocabularyFieldInstanceTest
Vocabulary field instance migration.

Namespace

Drupal\Tests\taxonomy\Kernel\Migrate\d6

Code

protected function setUp() {
  parent::setUp();

  // Execute Dependency Migrations.
  $this
    ->migrateContentTypes();
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->executeMigrations([
    'd6_node_type',
    'd6_taxonomy_vocabulary',
    'd6_vocabulary_field',
  ]);
}