You are here

protected function TaxonomyTermIndentationTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/taxonomy/tests/src/Functional/TaxonomyTermIndentationTest.php \Drupal\Tests\taxonomy\Functional\TaxonomyTermIndentationTest::setUp()

Overrides TaxonomyTestBase::setUp

File

core/modules/taxonomy/tests/src/Functional/TaxonomyTermIndentationTest.php, line 31

Class

TaxonomyTermIndentationTest
Ensure that the term indentation works properly.

Namespace

Drupal\Tests\taxonomy\Functional

Code

protected function setUp() {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'administer taxonomy',
    'bypass node access',
  ]));
  $this->vocabulary = $this
    ->createVocabulary();
}