diff --git a/core/modules/node/src/Tests/NodeRevisionsUiTest.php b/core/modules/node/src/Tests/NodeRevisionsUiTest.php index ffe6b82..2ce6cd5 100644 --- a/core/modules/node/src/Tests/NodeRevisionsUiTest.php +++ b/core/modules/node/src/Tests/NodeRevisionsUiTest.php @@ -81,19 +81,19 @@ function testNodeFormSaveWithoutRevision() { $newest_revision->setNewRevision(); $newest_revision->save(); $this->drupalGet('node/' . $node->id() . '/revisions'); - $this->assertRevisionButtonOrder([t('Publish'), t('current revision'), t('Revert')]); + $this->assertRevisionButtonOrder([t('Publish'), t('Current revision'), t('Revert')]); // Unpublish the node and the row text should change to 'set current'. $node_revision->setPublished(FALSE); $node_revision->setNewRevision(FALSE); $node_revision->save(); $this->drupalGet('node/' . $node->id() . '/revisions'); - $this->assertRevisionButtonOrder([t('Set current'), t('current revision'), t('Revert')]); + $this->assertRevisionButtonOrder([t('Set current'), t('Current revision'), t('Revert')]); // Set the most recent revision to current. $this->clickLink(t('Set current')); $this->drupalPostForm('node/' . $node->id() . '/revisions/' . $newest_revision->getRevisionId() . '/revert', [], t('Set current version')); - $this->assertRevisionButtonOrder([t('current revision'), t('Revert'), t('Revert'), t('Revert')]); + $this->assertRevisionButtonOrder([t('Current revision'), t('Revert'), t('Revert'), t('Revert')]); } /**