You are here

public function MigrateShortcutSetTest::testShortcutSetMigration in Zircon Profile 8

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

Test the shortcut set migration.

File

core/modules/shortcut/src/Tests/Migrate/d7/MigrateShortcutSetTest.php, line 50
Contains \Drupal\shortcut\Tests\Migrate\d7\MigrateShortcutSetTest.

Class

MigrateShortcutSetTest
Test shortcut_set migration to ShortcutSet entities.

Namespace

Drupal\shortcut\Tests\Migrate\d7

Code

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