function MigrateShortcutSetTest::testShortcutSetMigration

Same name in other branches
  1. 9 core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php \Drupal\Tests\shortcut\Kernel\Migrate\d7\MigrateShortcutSetTest::testShortcutSetMigration()
  2. 8.9.x core/modules/shortcut/tests/src/Kernel/Migrate/d7/MigrateShortcutSetTest.php \Drupal\Tests\shortcut\Kernel\Migrate\d7\MigrateShortcutSetTest::testShortcutSetMigration()
  3. 11.x 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() : void {
    $this->assertEntity('default', 'Default', 2);
    $this->assertEntity('shortcut-set-2', 'Alternative shortcut set', 2);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.