You are here

protected function LanguageTourTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/language/tests/src/Functional/LanguageTourTest.php \Drupal\Tests\language\Functional\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() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer languages',
    'access tour',
  ]);
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->drupalPlaceBlock('local_actions_block');
}