function TaxonomyRevisionVersionHistoryTest::setUp

Same name in other branches
  1. 10 core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionVersionHistoryTest.php \Drupal\Tests\taxonomy\Functional\TaxonomyRevisionVersionHistoryTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionVersionHistoryTest.php, line 53

Class

TaxonomyRevisionVersionHistoryTest
Taxonomy term version history test.

Namespace

Drupal\Tests\taxonomy\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->vocabulary = $this->createVocabulary([
        'vid' => 'test',
        'name' => 'Test',
    ]);
}

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