protected function MigrateShortcutTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/shortcut/src/Tests/Migrate/d7/MigrateShortcutTest.php \Drupal\shortcut\Tests\Migrate\d7\MigrateShortcutTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ shortcut/ src/ Tests/ Migrate/ d7/ MigrateShortcutTest.php, line 36 - Contains \Drupal\shortcut\Tests\Migrate\d7\MigrateShortcutTest.
Class
- MigrateShortcutTest
- Test shortcut menu links migration to Shortcut entities.
Namespace
Drupal\shortcut\Tests\Migrate\d7Code
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');
}