You are here

protected function TermEntityReferenceTest::setUp in Drupal 9

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

Overrides KernelTestBase::setUp

File

core/modules/taxonomy/tests/src/Kernel/TermEntityReferenceTest.php, line 33

Class

TermEntityReferenceTest
Tests the settings of restricting term selection to a single vocabulary.

Namespace

Drupal\Tests\taxonomy\Kernel

Code

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