You are here

protected function LocaleTranslateStringTourTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php \Drupal\Tests\locale\Functional\LocaleTranslateStringTourTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/locale/tests/src/Functional/LocaleTranslateStringTourTest.php, line 36

Class

LocaleTranslateStringTourTest
Tests the Translate Interface tour.

Namespace

Drupal\Tests\locale\Functional

Code

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