function TourLegacyTest::setUp

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.