You are here

protected function MigrateFieldInstanceWidgetSettingsTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/field/src/Tests/Migrate/d7/MigrateFieldInstanceWidgetSettingsTest.php \Drupal\field\Tests\Migrate\d7\MigrateFieldInstanceWidgetSettingsTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/field/src/Tests/Migrate/d7/MigrateFieldInstanceWidgetSettingsTest.php, line 42
Contains \Drupal\field\Tests\Migrate\d7\MigrateFieldInstanceWidgetSettingsTest.

Class

MigrateFieldInstanceWidgetSettingsTest
Migrate field widget settings.

Namespace

Drupal\field\Tests\Migrate\d7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('comment');
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->installConfig(static::$modules);
  $this
    ->executeMigrations([
    'd7_node_type',
    'd7_comment_type',
    'd7_field',
    'd7_field_instance',
    'd7_field_instance_widget_settings',
  ]);
}