function LoadMultipleTest::setUp

Same name in other branches
  1. 8.9.x core/modules/taxonomy/tests/src/Functional/LoadMultipleTest.php \Drupal\Tests\taxonomy\Functional\LoadMultipleTest::setUp()
  2. 10 core/modules/taxonomy/tests/src/Kernel/LoadMultipleTest.php \Drupal\Tests\taxonomy\Kernel\LoadMultipleTest::setUp()
  3. 11.x core/modules/taxonomy/tests/src/Kernel/LoadMultipleTest.php \Drupal\Tests\taxonomy\Kernel\LoadMultipleTest::setUp()

Overrides TaxonomyTestBase::setUp

File

core/modules/taxonomy/tests/src/Functional/LoadMultipleTest.php, line 23

Class

LoadMultipleTest
Tests the loading of multiple taxonomy terms at once.

Namespace

Drupal\Tests\taxonomy\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->drupalLogin($this->drupalCreateUser([
        'administer taxonomy',
    ]));
}

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