You are here

protected function ViewsUITourTest::setUp in Drupal 10

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. 9 core/modules/views_ui/tests/src/Functional/ViewsUITourTest.php \Drupal\Tests\views_ui\Functional\ViewsUITourTest::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);
}