function AdminAjaxTest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/views_ui/tests/src/FunctionalJavascript/AdminAjaxTest.php, line 31

Class

AdminAjaxTest
Tests the admin UI AJAX interactions.

Namespace

Drupal\Tests\views_ui\FunctionalJavascript

Code

protected function setUp() : void {
    parent::setUp();
    $this->drupalLogin($this->createUser([
        'administer views',
    ]));
}

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