You are here

protected function TermEntityReferenceTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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() {
  parent::setUp();
  $this
    ->installEntitySchema('entity_test');
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->installEntitySchema('user');
}