function ActionFormAjaxTest::setUp

Same name in other branches
  1. 9 core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php \Drupal\Tests\action\FunctionalJavascript\ActionFormAjaxTest::setUp()
  2. 8.9.x core/modules/action/tests/src/FunctionalJavascript/ActionFormAjaxTest.php \Drupal\Tests\action\FunctionalJavascript\ActionFormAjaxTest::setUp()
  3. 11.x 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 32

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);
}

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