You are here

protected function ViewsUITourTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer views',
    'access tour',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}