function TextareaWithSummaryTest::setUp
Overrides BrowserTestBase::setUp
File
- 
              core/
modules/ text/ tests/ src/ FunctionalJavascript/ TextareaWithSummaryTest.php, line 29  
Class
- TextareaWithSummaryTest
 - Tests the JavaScript functionality of the text_textarea_with_summary widget.
 
Namespace
Drupal\Tests\text\FunctionalJavascriptCode
protected function setUp() : void {
  parent::setUp();
  $this->drupalCreateContentType([
    'type' => 'page',
  ]);
  $account = $this->drupalCreateUser([
    'create page content',
    'edit own page content',
  ]);
  $this->drupalLogin($account);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.