You are here

protected function ViewsUITourTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php \Drupal\Tests\views_ui\Functional\ViewsUITourTest::setUp()
  2. 10 core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php \Drupal\Tests\views_ui\Functional\ViewsUITourTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php, line 41

Class

ViewsUITourTest
Tests the Views UI tour.

Namespace

Drupal\Tests\views_ui\Functional

Code

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