function WorkspaceAccessTest::setUp

Overrides KernelTestBase::setUp

File

core/modules/workspaces/tests/src/Kernel/WorkspaceAccessTest.php, line 35

Class

WorkspaceAccessTest
Tests access on workspaces.

Namespace

Drupal\Tests\workspaces\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->installSchema('workspaces', [
    'workspace_association',
  ]);
  $this->installEntitySchema('workspace');
  $this->installEntitySchema('user');
  // User 1.
  $this->createUser();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.