You are here

protected function ThrobberTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalJavascriptTests/Ajax/ThrobberTest.php \Drupal\FunctionalJavascriptTests\Ajax\ThrobberTest::setUp()
  2. 9 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

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