You are here

protected function ViewsWizardTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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 28

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);
}