protected function WorkspaceAccessTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php \Drupal\Tests\workspaces\Kernel\WorkspaceAccessTest::setUp()
Overrides KernelTestBase::setUp
File
- core/
modules/ workspaces/ tests/ src/ Kernel/ WorkspaceAccessTest.php, line 34
Class
- WorkspaceAccessTest
- Tests access on workspaces.
Namespace
Drupal\Tests\workspaces\KernelCode
protected function setUp() {
parent::setUp();
$this
->installSchema('system', [
'sequences',
]);
$this
->installSchema('workspaces', [
'workspace_association',
]);
$this
->installEntitySchema('workspace');
$this
->installEntitySchema('user');
// User 1.
$this
->createUser();
}