You are here

protected function MigrateShortcutTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutTest.php \Drupal\Tests\shortcut\Kernel\Migrate\d7\MigrateShortcutTest::setUp()
  2. 9 core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutTest.php \Drupal\Tests\shortcut\Kernel\Migrate\d7\MigrateShortcutTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutTest.php, line 31

Class

MigrateShortcutTest
Test shortcut menu links migration to Shortcut entities.

Namespace

Drupal\Tests\shortcut\Kernel\Migrate\d7

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('shortcut');
  $this
    ->installEntitySchema('menu_link_content');
  $this
    ->executeMigration('d7_shortcut_set');
  $this
    ->executeMigration('d7_menu');
  $this
    ->executeMigration('d7_shortcut');
}