function LanguageTourTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/tour/tests/src/Functional/Language/LanguageTourTest.php, line 39

Class

LanguageTourTest
Tests tour functionality.

Namespace

Drupal\Tests\tour\Functional\Language

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.