public function WorkspaceTest::setUp in Workspace 8
Same name and namespace in other branches
- 8.2 tests/src/Functional/WorkspaceTest.php \Drupal\Tests\workspace\Functional\WorkspaceTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ WorkspaceTest.php, line 20
Class
- WorkspaceTest
- Test the workspace entity.
Namespace
Drupal\Tests\workspace\FunctionalCode
public function setUp() {
parent::setUp();
$permissions = [
'access administration pages',
'administer site configuration',
'administer workspaces',
'create_workspace',
'edit_own_workspace',
];
$editor1 = $this
->drupalCreateUser($permissions);
$this
->drupalLogin($editor1);
}