function TermValidationTest::setUp
Same name in other branches
- 8.9.x core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php \Drupal\Tests\taxonomy\Kernel\TermValidationTest::setUp()
- 10 core/modules/taxonomy/tests/src/Kernel/TermValidationTest.php \Drupal\Tests\taxonomy\Kernel\TermValidationTest::setUp()
- 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\KernelCode
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.