diff --git a/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php b/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
index 3ba37a2..b6f2d38 100644
--- a/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
+++ b/core/modules/content_moderation/tests/src/Kernel/ContentModerationStateTest.php
@@ -94,6 +94,21 @@ public function testBasicModeration() {
     $this->assertTrue($node->isPublished());
     $this->assertEquals(4, $node->getRevisionId());
 
+    // Update the node to archived which will then be the default revision.
+    $node->set('moderation_state', 'archived');
+    $node->save();
+
+    // Revert to the previous (published) revision.
+    $prev_rev = \Drupal::entityTypeManager()->getStorage('node')->loadRevision(4);
+    $prev_rev->isDefaultRevision(TRUE);
+    $prev_rev->setNewRevision(TRUE);
+    $prev_rev->save();
+
+    // Get the default revision
+    $node = $this->reloadNode($node);
+    $this->assertEquals('published', $node->moderation_state->entity->id());
+    $this->assertTrue($node->isPublished());
+
   }
 
   /**
