function VocabularyCrudTest::setUp

Same name in other branches
  1. 8.9.x core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php \Drupal\Tests\taxonomy\Kernel\VocabularyCrudTest::setUp()
  2. 10 core/modules/taxonomy/tests/src/Kernel/VocabularyCrudTest.php \Drupal\Tests\taxonomy\Kernel\VocabularyCrudTest::setUp()
  3. 11.x 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');
}

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