function ThrobberTest::setUp

Same name in other branches
  1. 8.9.x core/tests/Drupal/FunctionalJavascriptTests/Ajax/ThrobberTest.php \Drupal\FunctionalJavascriptTests\Ajax\ThrobberTest::setUp()

Overrides BrowserTestBase::setUp

File

core/tests/Drupal/FunctionalJavascriptTests/Ajax/ThrobberTest.php, line 33

Class

ThrobberTest
Tests the throbber.

Namespace

Drupal\FunctionalJavascriptTests\Ajax

Code

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

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