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
/
NodeRevisionsUiTest.php
diff --git
a/web/core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php
b/web/core/modules/node/tests/src/Functional/NodeRevisionsUiTest.php
index cc364cda299516f5298fd3b4a92e63898802fa63..a437e4aba8e7044759e7c1ce4468b3e83a9c9842 100644
(file)
--- 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];
// 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()]);
// 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 = [];
// 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()]);
// Load the node again and check the revision is different from before.
$node_storage->resetCache([$node->id()]);