function ViewsWizardTest::setUp

Same name in other branches
  1. 9 core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php \Drupal\Tests\views_ui\FunctionalJavascript\ViewsWizardTest::setUp()
  2. 8.9.x core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php \Drupal\Tests\views_ui\FunctionalJavascript\ViewsWizardTest::setUp()
  3. 11.x core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php \Drupal\Tests\views_ui\FunctionalJavascript\ViewsWizardTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/views_ui/tests/src/FunctionalJavascript/ViewsWizardTest.php, line 30

Class

ViewsWizardTest
Tests views creation wizard.

Namespace

Drupal\Tests\views_ui\FunctionalJavascript

Code

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

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