function QuickEditEndPointAccessTest::setUp

Same name in other branches
  1. 9 core/modules/quickedit/tests/src/Functional/QuickEditEndPointAccessTest.php \Drupal\Tests\quickedit\Functional\QuickEditEndPointAccessTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/quickedit/tests/src/Functional/QuickEditEndPointAccessTest.php, line 33

Class

QuickEditEndPointAccessTest
Tests accessing the Quick Edit endpoints.

Namespace

Drupal\Tests\quickedit\Functional

Code

protected function setUp() {
    parent::setUp();
    $this->drupalCreateContentType([
        'type' => 'article',
        'name' => 'Article',
    ]);
}

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