You are here

protected function PathMappingTest::setUp in Gatsby Live Preview & Incremental Builds 2.0.x

Same name and namespace in other branches
  1. 8 tests/src/Kernel/PathMappingTest.php \Drupal\Tests\gatsby\Kernel\PathMappingTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/PathMappingTest.php, line 39

Class

PathMappingTest
Defines tests for getPath method in PathMapping.

Namespace

Drupal\Tests\gatsby\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installSchema('system', [
    'sequences',
  ]);
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->installSchema('user', [
    'users_data',
  ]);
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('user');
  $this
    ->installConfig([
    'field',
    'node',
    'text',
    'filter',
    'user',
  ]);
  $this
    ->installEntitySchema('path_alias');
}