function TaxonomyRevisionRevertTest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/taxonomy/tests/src/Functional/TaxonomyRevisionRevertTest.php, line 52

Class

TaxonomyRevisionRevertTest
Taxonomy term revision form 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.