You are here

protected function MigrateShortcutStubTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupalTestBase::setUp

File

core/modules/shortcut/src/Tests/Migrate/MigrateShortcutStubTest.php, line 30
Contains \Drupal\shortcut\Tests\Migrate\MigrateShortcutStubTest.

Class

MigrateShortcutStubTest
Test stub creation for shortcut entities.

Namespace

Drupal\shortcut\Tests\Migrate

Code

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

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