You are here

protected function MigrateMenuLinkLocalizedTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkLocalizedTest.php \Drupal\Tests\menu_link_content\Kernel\Migrate\d6\MigrateMenuLinkLocalizedTest::setUp()
  2. 10 core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkLocalizedTest.php \Drupal\Tests\menu_link_content\Kernel\Migrate\d7\MigrateMenuLinkLocalizedTest::setUp()

Overrides MigrateNodeTestBase::setUp

File

core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkLocalizedTest.php, line 33

Class

MigrateMenuLinkLocalizedTest
Tests Menu link localized translation migration.

Namespace

Drupal\Tests\menu_link_content\Kernel\Migrate\d6

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->setUpCurrentUser();
  $this
    ->installEntitySchema('menu_link_content');
  $this
    ->executeMigrations([
    'language',
    'd6_language_content_menu_settings',
    'd6_menu',
    'd6_menu_links',
    'd6_menu_links_localized',
  ]);
}