namespace Drupal\Tests\content_moderation\Kernel

Same name in other branches
  1. 9 Drupal\Tests\content_moderation\Kernel
  2. 10 Drupal\Tests\content_moderation\Kernel
  3. 11.x Drupal\Tests\content_moderation\Kernel
Object name File name Summary
ContentModerationAccessTest core/modules/content_moderation/tests/src/Kernel/ContentModerationAccessTest.php Tests content moderation access.
ContentModerationPermissionsTest core/modules/content_moderation/tests/src/Kernel/ContentModerationPermissionsTest.php Test to ensure content moderation permissions are generated correctly.
ContentModerationStateAccessControlHandlerTest core/modules/content_moderation/tests/src/Kernel/ContentModerationStateAccessControlHandlerTest.php @coversDefaultClass \Drupal\content_moderation\ContentModerationStateAccessControlHandler
@group content_moderation
ContentModerationStateResourceTest core/modules/content_moderation/tests/src/Kernel/ContentModerationStateResourceTest.php @group content_moderation
ContentModerationStateStorageSchemaTest core/modules/content_moderation/tests/src/Kernel/ContentModerationStateStorageSchemaTest.php Test the ContentModerationState storage schema.
ContentModerationStateTest core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php Tests links between a content entity and a content_moderation_state entity.
ContentModerationSyncingTest core/modules/content_moderation/tests/src/Kernel/ContentModerationSyncingTest.php Test content moderation when an entity is marked as 'syncing'.
ContentModerationWorkflowConfigTest core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowConfigTest.php Tests how Content Moderation handles workflow config changes.
ContentModerationWorkflowTypeApiTest core/modules/content_moderation/tests/src/Kernel/ContentModerationWorkflowTypeApiTest.php Tests the API of the ContentModeration workflow type plugin.
DefaultRevisionStateTest core/modules/content_moderation/tests/src/Kernel/DefaultRevisionStateTest.php Tests the correct default revision is set.
EntityOperationsTest core/modules/content_moderation/tests/src/Kernel/EntityOperationsTest.php @coversDefaultClass \Drupal\content_moderation\EntityOperations
EntityRevisionConverterTest core/modules/content_moderation/tests/src/Kernel/EntityRevisionConverterTest.php @coversDefaultClass \Drupal\content_moderation\ParamConverter\EntityRevisionConverter
@group content_moderation
@group legacy
EntityStateChangeValidationTest core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php @coversDefaultClass \Drupal\content_moderation\Plugin\Validation\Constraint\ModerationStateConstraintValidator
@group content_moderation
EntityTypeInfoTest core/modules/content_moderation/tests/src/Kernel/EntityTypeInfoTest.php @coversDefaultClass \Drupal\content_moderation\EntityTypeInfo
InitialStateTest core/modules/content_moderation/tests/src/Kernel/InitialStateTest.php Tests the correct initial states are set on install.
ModerationInformationTest core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php @coversDefaultClass \Drupal\content_moderation\ModerationInformation
@group content_moderation
ModerationStateFieldItemListTest core/modules/content_moderation/tests/src/Kernel/ModerationStateFieldItemListTest.php @coversDefaultClass \Drupal\content_moderation\Plugin\Field\ModerationStateFieldItemList
ModerationStateWidgetTest core/modules/content_moderation/tests/src/Kernel/ModerationStateWidgetTest.php @coversDefaultClass \Drupal\content_moderation\Plugin\Field\FieldWidget\ModerationStateWidget
@group content_moderation
NodeAccessTest core/modules/content_moderation/tests/src/Kernel/NodeAccessTest.php Tests with node access enabled.
StateFormatterTest core/modules/content_moderation/tests/src/Kernel/StateFormatterTest.php Test the state field formatter.
ViewsDataIntegrationTest core/modules/content_moderation/tests/src/Kernel/ViewsDataIntegrationTest.php Tests the views integration of content_moderation.
ViewsModerationStateFilterTest core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateFilterTest.php Tests the views 'moderation_state_filter' filter plugin.
ViewsModerationStateSortTest core/modules/content_moderation/tests/src/Kernel/ViewsModerationStateSortTest.php Tests the views moderation_state field sorting integration.
WorkspacesContentModerationStateTest core/modules/content_moderation/tests/src/Kernel/WorkspacesContentModerationStateTest.php Tests that Workspaces and Content Moderation work together properly.

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