You are here

public function ContentModerationStateTest::basicModerationTestCases in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php \Drupal\Tests\content_moderation\Kernel\ContentModerationStateTest::basicModerationTestCases()

Test cases for basic moderation test.

1 method overrides ContentModerationStateTest::basicModerationTestCases()
WorkspacesContentModerationStateTest::basicModerationTestCases in core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php
Test cases for basic moderation test.

File

core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php, line 155

Class

ContentModerationStateTest
Tests links between a content entity and a content_moderation_state entity.

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' => [
      'entity_test_rev',
    ],
    'Entity without bundle' => [
      'entity_test_no_bundle',
    ],
  ];
}