You are here

protected function MigrateFieldInstanceTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/field/src/Tests/Migrate/d7/MigrateFieldInstanceTest.php, line 44
Contains \Drupal\field\Tests\Migrate\d7\MigrateFieldInstanceTest.

Class

MigrateFieldInstanceTest
Migrates Drupal 7 field instances.

Namespace

Drupal\field\Tests\Migrate\d7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig(static::$modules);
  $this
    ->createType('page');
  $this
    ->createType('article');
  $this
    ->createType('blog');
  $this
    ->createType('book');
  $this
    ->createType('forum');
  $this
    ->createType('test_content_type');
  $this
    ->executeMigrations([
    'd7_field',
    'd7_field_instance',
  ]);
}