function WorkspacesUninstallTest::setUp

Same name in other branches
  1. 10 core/modules/workspaces/tests/src/Functional/WorkspacesUninstallTest.php \Drupal\Tests\workspaces\Functional\WorkspacesUninstallTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/workspaces/tests/src/Functional/WorkspacesUninstallTest.php, line 31

Class

WorkspacesUninstallTest
Tests uninstalling the Workspaces module.

Namespace

Drupal\Tests\workspaces\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $permissions = [
        'administer workspaces',
        'administer modules',
    ];
    $this->drupalLogin($this->drupalCreateUser($permissions));
}

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