You are here

protected function MigrateShortcutStubTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/shortcut/tests/src/Kernel/Migrate/MigrateShortcutStubTest.php \Drupal\Tests\shortcut\Kernel\Migrate\MigrateShortcutStubTest::setUp()

Overrides MigrateDrupalTestBase::setUp

File

core/modules/shortcut/tests/src/Kernel/Migrate/MigrateShortcutStubTest.php, line 25

Class

MigrateShortcutStubTest
Test stub creation for shortcut entities.

Namespace

Drupal\Tests\shortcut\Kernel\Migrate

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('shortcut');

  // Make sure the 'default' shortcut_set is installed.
  $this
    ->installConfig([
    'shortcut',
  ]);
}