Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / filter / tests / src / Functional / FilterHooksTest.php
index c799460988f9e4782e8a0fe119cd5d4ef0462d83..5ff4a8a487d2fdff7b3f06baf44cf819c2e9b41c 100644 (file)
@@ -60,7 +60,7 @@ class FilterHooksTest extends BrowserTestBase {
     $edit['title[0][value]'] = $title;
     $edit['body[0][value]'] = $this->randomMachineName(32);
     $edit['body[0][format]'] = $format_id;
-    $this->drupalPostForm("node/add/{$type->id()}", $edit, t('Save and publish'));
+    $this->drupalPostForm("node/add/{$type->id()}", $edit, t('Save'));
     $this->assertText(t('@type @title has been created.', ['@type' => $type_name, '@title' => $title]));
 
     // Disable the text format.