function LanguageTourTest::setUp

Same name in other branches
  1. 8.9.x core/modules/language/tests/src/Functional/LanguageTourTest.php \Drupal\Tests\language\Functional\LanguageTourTest::setUp()
  2. 10 core/modules/tour/tests/src/Functional/Language/LanguageTourTest.php \Drupal\Tests\tour\Functional\Language\LanguageTourTest::setUp()
  3. 11.x core/modules/tour/tests/src/Functional/Language/LanguageTourTest.php \Drupal\Tests\tour\Functional\Language\LanguageTourTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/language/tests/src/Functional/LanguageTourTest.php, line 36

Class

LanguageTourTest
Tests tour functionality.

Namespace

Drupal\Tests\language\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->adminUser = $this->drupalCreateUser([
        'administer languages',
        'access tour',
    ]);
    $this->drupalLogin($this->adminUser);
    $this->drupalPlaceBlock('local_actions_block');
}

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