protected function MigrateShortcutSetUsersTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/shortcut/src/Tests/Migrate/d7/MigrateShortcutSetUsersTest.php \Drupal\shortcut\Tests\Migrate\d7\MigrateShortcutSetUsersTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ shortcut/ src/ Tests/ Migrate/ d7/ MigrateShortcutSetUsersTest.php, line 35 - Contains \Drupal\shortcut\Tests\Migrate\d7\MigrateShortcutSetUsersTest.
Class
- MigrateShortcutSetUsersTest
- Test shortcut_set_users migration.
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
->installSchema('shortcut', [
'shortcut_set_users',
]);
$this
->executeMigration('d7_user_role');
$this
->executeMigration('d7_user');
$this
->executeMigration('d7_shortcut_set');
$this
->executeMigration('menu');
$this
->executeMigration('d7_menu_links');
$this
->executeMigration('d7_shortcut');
$this
->executeMigration('d7_shortcut_set_users');
}