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