You are here

protected function TermContextTest::setUp in Drupal 10

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

Overrides KernelTestBase::setUp

File

core/modules/taxonomy/tests/src/Kernel/ContextProvider/TermContextTest.php, line 27

Class

TermContextTest
@coversDefaultClass \Drupal\taxonomy\ContextProvider\TermRouteContext

Namespace

Drupal\Tests\taxonomy\Kernel\ContextProvider

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installConfig([
    'filter',
  ]);
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('taxonomy_term');
}