You are here

public function TourLegacyTest::setUp in Drupal 9

Overrides BrowserTestBase::setUp

File

core/modules/tour/tests/src/FunctionalJavascript/TourLegacyTest.php, line 32

Class

TourLegacyTest
Tests Tour's backwards compatible markup and legacy config.

Namespace

Drupal\Tests\tour\FunctionalJavascript

Code

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