function TermKernelTest::setUp

Same name in other branches
  1. 9 core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php \Drupal\Tests\taxonomy\Kernel\TermKernelTest::setUp()
  2. 8.9.x core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php \Drupal\Tests\taxonomy\Kernel\TermKernelTest::setUp()
  3. 11.x core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php \Drupal\Tests\taxonomy\Kernel\TermKernelTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/taxonomy/tests/src/Kernel/TermKernelTest.php, line 30

Class

TermKernelTest
Kernel tests for taxonomy term functions.

Namespace

Drupal\Tests\taxonomy\Kernel

Code

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

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