You are here

public function WorkspacesContentModerationStateTest::basicModerationTestCases 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::basicModerationTestCases()
  2. 10 core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php \Drupal\Tests\content_moderation\Kernel\WorkspacesContentModerationStateTest::basicModerationTestCases()

Test cases for basic moderation test.

Overrides ContentModerationStateTest::basicModerationTestCases

File

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

Class

WorkspacesContentModerationStateTest
Tests that Workspaces and Content Moderation work together properly.

Namespace

Drupal\Tests\content_moderation\Kernel

Code

public function basicModerationTestCases() {
  return [
    'Nodes' => [
      'node',
    ],
    'Block content' => [
      'block_content',
    ],
    'Media' => [
      'media',
    ],
    'Test entity - revisions, data table, and published interface' => [
      'entity_test_mulrevpub',
    ],
    'Entity Test with revisions and published status' => [
      'entity_test_revpub',
    ],
  ];
}