function QuickEditIntegrationTest::setUp

Same name in this branch
  1. 8.9.x core/modules/quickedit/tests/src/FunctionalJavascript/QuickEditIntegrationTest.php \Drupal\Tests\quickedit\FunctionalJavascript\QuickEditIntegrationTest::setUp()
  2. 8.9.x core/modules/editor/tests/src/Kernel/QuickEditIntegrationTest.php \Drupal\Tests\editor\Kernel\QuickEditIntegrationTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/settings_tray/tests/src/FunctionalJavascript/QuickEditIntegrationTest.php, line 33

Class

QuickEditIntegrationTest
Test Settings Tray and Quick Edit modules integration.

Namespace

Drupal\Tests\settings_tray\FunctionalJavascript

Code

protected function setUp() {
    parent::setUp();
    $user = $this->createUser([
        'administer blocks',
        'access contextual links',
        'access toolbar',
        'administer nodes',
        'access in-place editing',
    ]);
    $this->drupalLogin($user);
}

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