You are here

protected function MigrateFieldGroupTest::setUp in Field Group 8

Same name and namespace in other branches
  1. 8.3 contrib/field_group_migrate/tests/src/Kernel/Migrate/d7/MigrateFieldGroupTest.php \Drupal\Tests\field_group_migrate\Kernel\Migrate\d7\MigrateFieldGroupTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

contrib/field_group_migrate/tests/src/Kernel/Migrate/d7/MigrateFieldGroupTest.php, line 35

Class

MigrateFieldGroupTest
Tests field group migration.

Namespace

Drupal\Tests\field_group_migrate\Kernel\Migrate\d7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->loadFixture(__DIR__ . '/../../../../fixtures/drupal7.php');
  $this
    ->installConfig(static::$modules);
  $this
    ->executeMigrations([
    'd7_node_type',
    'd7_comment_type',
    'd7_taxonomy_vocabulary',
    'd7_view_modes',
    'd7_field',
    'd7_field_instance',
    'd7_field_formatter_settings',
    'd7_field_group',
  ]);
}