diff --git a/core/modules/content_moderation/src/Tests/ModerationStateNodeTypeTest.php b/core/modules/content_moderation/src/Tests/ModerationStateNodeTypeTest.php
index 099b4dc..a25dab8 100644
--- a/core/modules/content_moderation/src/Tests/ModerationStateNodeTypeTest.php
+++ b/core/modules/content_moderation/src/Tests/ModerationStateNodeTypeTest.php
@@ -2,6 +2,8 @@
 
 namespace Drupal\content_moderation\Tests;
 
+use Drupal\user\Entity\Role;
+
 
 /**
  * Tests moderation state node type integration.
@@ -30,10 +32,22 @@ public function testNotModerated() {
    * Tests enabling moderation on an existing node-type, with content.
    */
   public function testEnablingOnExistingContent() {
+    $permissions = [
+      'administer content moderation',
+      'access administration pages',
+      'administer content types',
+      'administer nodes',
+      'view latest version',
+      'view any unpublished content',
+      'access content overview',
+      'use editorial transition create_new_draft',
+    ];
+    $editor = $this->drupalCreateUser($permissions);
+
     // Create a node type that is not moderated.
-    $this->drupalLogin($this->adminUser);
+    $this->drupalLogin($editor);
     $this->createContentTypeFromUi('Not moderated', 'not_moderated');
-    $this->grantUserPermissionToCreateContentOfType($this->adminUser, 'not_moderated');
+    $this->grantUserPermissionToCreateContentOfType($editor, 'not_moderated');
 
     // Create content.
     $this->drupalGet('node/add/not_moderated');
@@ -68,7 +82,18 @@ public function testEnablingOnExistingContent() {
     $this->drupalGet('node/' . $node->id() . '/edit');
     $this->assertResponse(200);
     $this->assertRaw('Save and Create New Draft');
-    $this->assertNoRaw('Save and publish');
+    $this->assertNoRaw('Save and Publish');
+
+    $role_ids = $editor->getRoles(TRUE);
+    /* @var \Drupal\user\RoleInterface $role */
+    $role_id = reset($role_ids);
+    $role = Role::load($role_id);
+    $role->grantPermission('use editorial transition publish');
+    $role->save();
+    $this->drupalGet('node/' . $node->id() . '/edit');
+    $this->assertResponse(200);
+    $this->assertRaw('Save and Create New Draft');
+    $this->assertRaw('Save and Publish');
   }
 
 }
