function SettingSummariesContentTypeTest::setUp

Same name in other branches
  1. 9 core/modules/node/tests/src/FunctionalJavascript/SettingSummariesContentTypeTest.php \Drupal\Tests\node\FunctionalJavascript\SettingSummariesContentTypeTest::setUp()
  2. 10 core/modules/node/tests/src/FunctionalJavascript/SettingSummariesContentTypeTest.php \Drupal\Tests\node\FunctionalJavascript\SettingSummariesContentTypeTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/node/tests/src/FunctionalJavascript/SettingSummariesContentTypeTest.php, line 29

Class

SettingSummariesContentTypeTest
Tests the JavaScript updating of summaries on content type form.

Namespace

Drupal\Tests\node\FunctionalJavascript

Code

protected function setUp() : void {
    parent::setUp();
    $admin_user = $this->drupalCreateUser([
        'administer content types',
    ]);
    $this->drupalLogin($admin_user);
    $this->drupalCreateContentType([
        'type' => 'test',
    ]);
}

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