You are here

protected function LanguageTourTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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() : void {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer languages',
    'access tour',
  ]);
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->drupalPlaceBlock('local_actions_block');
}