diff --git a/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php b/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php index 373d01ff86..d91da8963c 100644 --- a/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php +++ b/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php @@ -252,6 +252,7 @@ public function testExistingContentModerationStateDataRemoval() { $workflow->getTypePlugin()->addEntityTypeAndBundle($entity->getEntityTypeId(), $entity->bundle()); $workflow->save(); + $entity = $this->reloadEntity($entity); $entity->moderation_state = 'draft'; $entity->save();