function TermValidationTest::setUp

Same name and namespace in other branches
  1. 9 core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php \Drupal\Tests\taxonomy\Kernel\TermValidationTest::setUp()
  2. 8.9.x core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php \Drupal\Tests\taxonomy\Kernel\TermValidationTest::setUp()
  3. 10 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 27

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.