X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fnode%2Ftests%2Fsrc%2FFunctional%2FNodeRevisionsUiBypassAccessTest.php;h=186b694774e6eceb307d5fdaefa9f652b8313ce6;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=a3a575d77e24eb7c2cde91c8555f410aa36789ef;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php b/web/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php index a3a575d77..186b69477 100644 --- a/web/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php +++ b/web/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php @@ -67,7 +67,7 @@ class NodeRevisionsUiBypassAccessTest extends NodeTestBase { // Uncheck the create new revision checkbox and save the node. $edit = ['revision' => FALSE]; - $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, 'Save and keep published'); + $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, 'Save'); $this->assertUrl($node->toUrl()); $this->assertNoLink(t('Revisions')); @@ -78,7 +78,7 @@ class NodeRevisionsUiBypassAccessTest extends NodeTestBase { // Submit the form without changing the checkbox. $edit = []; - $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, 'Save and keep published'); + $this->drupalPostForm('node/' . $node->id() . '/edit', $edit, 'Save'); $this->assertUrl($node->toUrl()); $this->assertLink(t('Revisions'));