X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fnode%2Ftests%2Fsrc%2FFunctional%2FNodeRevisionsUiTest.php;h=a437e4aba8e7044759e7c1ce4468b3e83a9c9842;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=cc364cda299516f5298fd3b4a92e63898802fa63;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php b/web/core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php index cc364cda2..a437e4aba 100644 --- a/web/core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php +++ b/web/core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php @@ -55,7 +55,7 @@ class NodeRevisionsUiTest extends NodeTestBase { // Uncheck the create new revision checkbox and save the node. $edit = ['revision' => FALSE]; - $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, t('Save and keep published')); + $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, t('Save')); // Load the node again and check the revision is the same as before. $node_storage->resetCache([$node->id()]); @@ -68,7 +68,7 @@ class NodeRevisionsUiTest extends NodeTestBase { // Submit the form without changing the checkbox. $edit = []; - $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, t('Save and keep published')); + $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, t('Save')); // Load the node again and check the revision is different from before. $node_storage->resetCache([$node->id()]);