You are here

public function TourJavascriptTest::setUp in Drupal 9

Overrides BrowserTestBase::setUp

File

core/modules/tour/tests/src/FunctionalJavascript/TourJavascriptTest.php, line 31

Class

TourJavascriptTest
General Tour tests that require JavaScript.

Namespace

Drupal\Tests\tour\FunctionalJavascript

Code

public function setUp() : void {
  parent::setUp();
  $admin_user = $this
    ->drupalCreateUser([
    'access toolbar',
    'access tour',
  ]);
  $this
    ->drupalLogin($admin_user);
}