Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / field / tests / src / Functional / EntityReference / EntityReferenceXSSTest.php
index 46986ec474cfe53d2d034967822b2e43021684f0..b161ed66d8d83b059b31064532905c3701a1547f 100644 (file)
@@ -62,7 +62,7 @@ class EntityReferenceXSSTest extends BrowserTestBase {
       'title[0][value]' => $this->randomString(),
       'entity_reference_test' => $referenced_node->id()
     ];
-    $this->drupalPostForm(NULL, $edit, 'Save and publish');
+    $this->drupalPostForm(NULL, $edit, 'Save');
     $this->assertEscaped($referenced_node->getTitle());
 
     // Test the options_buttons type.