You are here

protected function MigrateViewModesTest::setUp in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/node/src/Tests/Migrate/d6/MigrateViewModesTest.php \Drupal\node\Tests\Migrate\d6\MigrateViewModesTest::setUp()
  2. 8 core/modules/field/src/Tests/Migrate/d7/MigrateViewModesTest.php \Drupal\field\Tests\Migrate\d7\MigrateViewModesTest::setUp()
Same name and namespace in other branches
  1. 8.0 core/modules/field/src/Tests/Migrate/d7/MigrateViewModesTest.php \Drupal\field\Tests\Migrate\d7\MigrateViewModesTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/field/src/Tests/Migrate/d7/MigrateViewModesTest.php, line 26
Contains \Drupal\field\Tests\Migrate\d7\MigrateViewModesTest.

Class

MigrateViewModesTest
Tests migration of D7 view modes.

Namespace

Drupal\field\Tests\Migrate\d7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('comment');
  $this
    ->installEntitySchema('node');
  $this
    ->executeMigration('d7_view_modes');
}