You are here

public function ThrobberTest::setUp in Drupal 9

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