You are here

protected function ViewsListingTest::setUp in Drupal 10

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

File

core/modules/views_ui/tests/src/FunctionalJavascript/ViewsListingTest.php, line 28

Class

ViewsListingTest
Tests the JavaScript filtering on the Views listing page.

Namespace

Drupal\Tests\views_ui\FunctionalJavascript

Code

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