protected function TermEntityReferenceTest::setUp in Drupal 9
Same name and namespace in other branches
- 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\KernelCode
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('entity_test');
$this
->installEntitySchema('taxonomy_term');
$this
->installEntitySchema('user');
}