function ViewsUITourTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/tour/tests/src/Functional/ViewsUi/ViewsUITourTest.php, line 47

Class

ViewsUITourTest
Tests the Views UI tour.

Namespace

Drupal\Tests\tour\Functional\ViewsUi

Code

protected function setUp() : void {
  parent::setUp();
  $this->adminUser = $this->drupalCreateUser([
    'administer views',
    'access tour',
  ]);
  $this->drupalLogin($this->adminUser);
}

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