projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
web
/
core
/
modules
/
node
/
tests
/
src
/
Functional
/
NodeRevisionsUiBypassAccessTest.php
diff --git
a/web/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php
b/web/core/modules/node/tests/src/Functional/NodeRevisionsUiBypassAccessTest.php
index a3a575d77e24eb7c2cde91c8555f410aa36789ef..186b694774e6eceb307d5fdaefa9f652b8313ce6 100644
(file)
--- 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];
// 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'));
$this->assertUrl($node->toUrl());
$this->assertNoLink(t('Revisions'));
@@
-78,7
+78,7
@@
class NodeRevisionsUiBypassAccessTest extends NodeTestBase {
// Submit the form without changing the checkbox.
$edit = [];
// 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'));
$this->assertUrl($node->toUrl());
$this->assertLink(t('Revisions'));