You are here

protected function TaxonomyTermPagerTest::setUp in Drupal 9

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

Overrides TaxonomyTestBase::setUp

File

core/modules/taxonomy/tests/src/Functional/TaxonomyTermPagerTest.php, line 34

Class

TaxonomyTermPagerTest
Ensures that the term pager works properly.

Namespace

Drupal\Tests\taxonomy\Functional

Code

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