function WorkspaceToolbarIntegrationTest::setUp
Same name in other branches
- 8.9.x core/modules/workspaces/tests/src/FunctionalJavascript/WorkspaceToolbarIntegrationTest.php \Drupal\Tests\workspaces\FunctionalJavascript\WorkspaceToolbarIntegrationTest::setUp()
- 10 core/modules/workspaces/tests/src/FunctionalJavascript/WorkspaceToolbarIntegrationTest.php \Drupal\Tests\workspaces\FunctionalJavascript\WorkspaceToolbarIntegrationTest::setUp()
- 11.x core/modules/workspaces/tests/src/FunctionalJavascript/WorkspaceToolbarIntegrationTest.php \Drupal\Tests\workspaces\FunctionalJavascript\WorkspaceToolbarIntegrationTest::setUp()
- 11.x core/modules/workspaces_ui/tests/src/FunctionalJavascript/WorkspaceToolbarIntegrationTest.php \Drupal\Tests\workspaces_ui\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\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$admin_user = $this->drupalCreateUser([
'administer workspaces',
'access toolbar',
'access administration pages',
]);
$this->drupalLogin($admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.