function EditorAdminTest::setUp

Same name in this branch
  1. 10 core/modules/editor/tests/src/Functional/EditorAdminTest.php \Drupal\Tests\editor\Functional\EditorAdminTest::setUp()
Same name in other branches
  1. 9 core/modules/editor/tests/src/FunctionalJavascript/EditorAdminTest.php \Drupal\Tests\editor\FunctionalJavascript\EditorAdminTest::setUp()
  2. 9 core/modules/editor/tests/src/Functional/EditorAdminTest.php \Drupal\Tests\editor\Functional\EditorAdminTest::setUp()
  3. 8.9.x core/modules/editor/tests/src/FunctionalJavascript/EditorAdminTest.php \Drupal\Tests\editor\FunctionalJavascript\EditorAdminTest::setUp()
  4. 8.9.x core/modules/editor/tests/src/Functional/EditorAdminTest.php \Drupal\Tests\editor\Functional\EditorAdminTest::setUp()
  5. 11.x core/modules/editor/tests/src/FunctionalJavascript/EditorAdminTest.php \Drupal\Tests\editor\FunctionalJavascript\EditorAdminTest::setUp()
  6. 11.x core/modules/editor/tests/src/Functional/EditorAdminTest.php \Drupal\Tests\editor\Functional\EditorAdminTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/editor/tests/src/FunctionalJavascript/EditorAdminTest.php, line 37

Class

EditorAdminTest
@group editor

Namespace

Drupal\Tests\editor\FunctionalJavascript

Code

protected function setUp() : void {
    parent::setUp();
    $this->user = $this->drupalCreateUser([
        'access administration pages',
        'administer site configuration',
        'administer filters',
    ]);
    $this->drupalLogin($this->user);
}

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