You are here

public function MigrateShortcutSetTest::testShortcutSetMigration in Drupal 9

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

Tests the shortcut set migration.

File

core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php, line 43

Class

MigrateShortcutSetTest
Test shortcut_set migration to ShortcutSet entities.

Namespace

Drupal\Tests\shortcut\Kernel\Migrate\d7

Code

public function testShortcutSetMigration() {
  $this
    ->assertEntity('default', 'Default', 2);
  $this
    ->assertEntity('shortcut_set_2', 'Alternative shortcut set', 2);
}