You are here

protected function MigrateMenuLinkTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/menu_link_content/src/Tests/Migrate/d6/MigrateMenuLinkTest.php, line 28
Contains \Drupal\menu_link_content\Tests\Migrate\d6\MigrateMenuLinkTest.

Class

MigrateMenuLinkTest
Menu link migration.

Namespace

Drupal\menu_link_content\Tests\Migrate\d6

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', [
    'router',
  ]);
  $this
    ->installEntitySchema('menu_link_content');
  $this
    ->executeMigrations([
    'menu',
    'd6_menu_links',
  ]);
}