You are here

protected function ActionFormAjaxTest::setUp in Drupal 9

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

Overrides BrowserTestBase::setUp

File

core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php, line 29

Class

ActionFormAjaxTest
Tests action plugins using JavaScript.

Namespace

Drupal\Tests\action\FunctionalJavascript

Code

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