You are here

protected function VocabularyCrudTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php \Drupal\Tests\taxonomy\Kernel\VocabularyCrudTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php, line 36

Class

VocabularyCrudTest
Tests loading, saving and deleting vocabularies.

Namespace

Drupal\Tests\taxonomy\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installSchema('user', [
    'users_data',
  ]);
  $this
    ->installEntitySchema('taxonomy_term');
}