You are here

protected function MigrateMenuLinkTranslationTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/modules/menu_link_content/tests/src/Kernel/Migrate/d6/MigrateMenuLinkTranslationTest.php \Drupal\Tests\menu_link_content\Kernel\Migrate\d6\MigrateMenuLinkTranslationTest::setUp()
  2. 10 core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTranslationTest.php \Drupal\Tests\menu_link_content\Kernel\Migrate\d7\MigrateMenuLinkTranslationTest::setUp()
Same name and namespace in other branches
  1. 9 core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTranslationTest.php \Drupal\Tests\menu_link_content\Kernel\Migrate\d7\MigrateMenuLinkTranslationTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/menu_link_content/tests/src/Kernel/Migrate/d7/MigrateMenuLinkTranslationTest.php, line 31

Class

MigrateMenuLinkTranslationTest
Tests Menu link translation migration.

Namespace

Drupal\Tests\menu_link_content\Kernel\Migrate\d7

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->executeMigrations([
    'language',
  ]);
  $this
    ->installEntitySchema('menu_link_content');
  $this
    ->executeMigrations([
    'd7_menu',
    'd7_language_content_menu_settings',
    'd7_menu_links',
    'd7_menu_links_translation',
  ]);
}