You are here

protected function WorkspaceAccessTest::setUp in Workspace 8.2

Overrides KernelTestBase::setUp

File

tests/src/Kernel/WorkspaceAccessTest.php, line 30

Class

WorkspaceAccessTest
Tests access on workspaces.

Namespace

Drupal\Tests\workspace\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', [
    'sequences',
  ]);
  $this
    ->installEntitySchema('workspace');
  $this
    ->installEntitySchema('workspace_association');
  $this
    ->installEntitySchema('user');

  // User 1.
  $this
    ->createUser();
}