You are here

protected function TextareaWithSummaryTest::setUp in Drupal 9

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

Overrides BrowserTestBase::setUp

File

core/modules/text/tests/src/FunctionalJavascript/TextareaWithSummaryTest.php, line 28

Class

TextareaWithSummaryTest
Tests the JavaScript functionality of the text_textarea_with_summary widget.

Namespace

Drupal\Tests\text\FunctionalJavascript

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->drupalCreateContentType([
    'type' => 'page',
  ]);
  $account = $this
    ->drupalCreateUser([
    'create page content',
    'edit own page content',
  ]);
  $this
    ->drupalLogin($account);
}