Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / node / src / Tests / PagePreviewTest.php
index 37b00d3b482f27d0168e01e991b936fd570b4e5a..ed4c6fa1cb397e511ed350a9a7e64fbdda9cffbc 100644 (file)
@@ -427,14 +427,14 @@ class PagePreviewTest extends NodeTestBase {
     $this->assertFieldByName('revision_log[0][value]', $edit['revision_log[0][value]'], 'Revision log field displayed.');
 
     // Save the node after coming back from the preview page so we can create a
-    // forward revision for it.
+    // pending revision for it.
     $this->drupalPostForm(NULL, [], t('Save'));
     $node = $this->drupalGetNodeByTitle($edit[$title_key]);
 
-    // Check that previewing a forward revision of a node works. This can not be
+    // Check that previewing a pending revision of a node works. This can not be
     // accomplished through the UI so we have to use API calls.
     // @todo Change this test to use the UI when we will be able to create
-    // forward revisions in core.
+    // pending revisions in core.
     // @see https://www.drupal.org/node/2725533
     $node->setNewRevision(TRUE);
     $node->isDefaultRevision(FALSE);