function EntityAliasTest::setUp

Same name in other branches
  1. 11.x core/modules/path_alias/tests/src/Kernel/EntityAliasTest.php \Drupal\Tests\path_alias\Kernel\EntityAliasTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/path_alias/tests/src/Kernel/EntityAliasTest.php, line 32

Class

EntityAliasTest
Tests path alias on entities.

Namespace

Drupal\Tests\path_alias\Kernel

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('entity_test');
    $this->installEntitySchema('path_alias');
    $this->installEntitySchema('user');
}

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