You are here

protected function WorkspaceToolbarIntegrationTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/workspaces/tests/src/FunctionalJavascript/WorkspaceToolbarIntegrationTest.php \Drupal\Tests\workspaces\FunctionalJavascript\WorkspaceToolbarIntegrationTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/workspaces/tests/src/FunctionalJavascript/WorkspaceToolbarIntegrationTest.php, line 27

Class

WorkspaceToolbarIntegrationTest
Tests workspace settings stray integration.

Namespace

Drupal\Tests\workspaces\FunctionalJavascript

Code

protected function setUp() {
  parent::setUp();
  $admin_user = $this
    ->drupalCreateUser([
    'administer workspaces',
    'access toolbar',
    'access administration pages',
  ]);
  $this
    ->drupalLogin($admin_user);
}