You are here

protected function WorkspacesContentModerationStateTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php \Drupal\Tests\content_moderation\Kernel\WorkspacesContentModerationStateTest::setUp()

Overrides ContentModerationStateTest::setUp

File

core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php, line 43

Class

WorkspacesContentModerationStateTest
Tests that Workspaces and Content Moderation work together properly.

Namespace

Drupal\Tests\content_moderation\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installSchema('system', [
    'key_value_expire',
    'sequences',
  ]);
  $this
    ->initializeWorkspacesModule();
  $this
    ->switchToWorkspace('stage');
}