You are here

protected function AliasStorageTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/KernelTests/Core/Path/AliasStorageTest.php \Drupal\KernelTests\Core\Path\AliasStorageTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Path/AliasStorageTest.php, line 30
Contains \Drupal\KernelTests\Core\Path\AliasStorageTest.

Class

AliasStorageTest
@coversDefaultClass \Drupal\Core\Path\AliasStorage @group path

Namespace

Drupal\KernelTests\Core\Path

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', 'url_alias');
  $this->storage = $this->container
    ->get('path.alias_storage');
}