You are here

protected function MigrateShortcutSetTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/shortcut/src/Tests/Migrate/d7/MigrateShortcutSetTest.php, line 36
Contains \Drupal\shortcut\Tests\Migrate\d7\MigrateShortcutSetTest.

Class

MigrateShortcutSetTest
Test shortcut_set migration to ShortcutSet entities.

Namespace

Drupal\shortcut\Tests\Migrate\d7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', array(
    'router',
  ));
  $this
    ->installEntitySchema('shortcut');
  $this
    ->installEntitySchema('menu_link_content');
  $this
    ->executeMigration('d7_shortcut_set');
  $this
    ->executeMigration('menu');
  $this
    ->executeMigration('d7_menu_links');
  $this
    ->executeMigration('d7_shortcut');
}