function LocaleTranslateStringTourTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/tour/tests/src/Functional/Locale/LocaleTranslateStringTourTest.php, line 39

Class

LocaleTranslateStringTourTest
Tests the Translate Interface tour.

Namespace

Drupal\Tests\tour\Functional\Locale

Code

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

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