public function MigrateShortcutSetTest::testShortcutSetMigration in Drupal 8
Same name and namespace in other branches
- 9 core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php \Drupal\Tests\shortcut\Kernel\Migrate\d7\MigrateShortcutSetTest::testShortcutSetMigration()
- 10 core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php \Drupal\Tests\shortcut\Kernel\Migrate\d7\MigrateShortcutSetTest::testShortcutSetMigration()
Test the shortcut set migration.
File
- core/
modules/ shortcut/ tests/ src/ Kernel/ Migrate/ d7/ MigrateShortcutSetTest.php, line 45
Class
- MigrateShortcutSetTest
- Test shortcut_set migration to ShortcutSet entities.
Namespace
Drupal\Tests\shortcut\Kernel\Migrate\d7Code
public function testShortcutSetMigration() {
$this
->assertEntity('default', 'Default', 2);
$this
->assertEntity('shortcut_set_2', 'Alternative shortcut set', 2);
}