You are here

protected function EditorAdminTest::setUp in Drupal 8

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

Overrides BrowserTestBase::setUp

File

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

Class

EditorAdminTest
@group editor

Namespace

Drupal\Tests\editor\FunctionalJavascript

Code

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