function TermValidationTest::setUp

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

Overrides EntityKernelTestBase::setUp

File

core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php, line 25

Class

TermValidationTest
Tests term validation constraints.

Namespace

Drupal\Tests\taxonomy\Kernel

Code

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

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