You are here

protected function EditorAdminTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/modules/editor/tests/src/Functional/EditorAdminTest.php \Drupal\Tests\editor\Functional\EditorAdminTest::setUp()
  2. 10 core/modules/editor/tests/src/FunctionalJavascript/EditorAdminTest.php \Drupal\Tests\editor\FunctionalJavascript\EditorAdminTest::setUp()
Same name and namespace in other branches
  1. 8 core/modules/editor/tests/src/FunctionalJavascript/EditorAdminTest.php \Drupal\Tests\editor\FunctionalJavascript\EditorAdminTest::setUp()
  2. 9 core/modules/editor/tests/src/FunctionalJavascript/EditorAdminTest.php \Drupal\Tests\editor\FunctionalJavascript\EditorAdminTest::setUp()

File

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

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