Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / forum / tests / src / Functional / ForumBlockTest.php
index 6c412b71cdc9299916d448908f13230d7094d276..b231f6d0eace0ca786cec3667e3a6552694c5316 100644 (file)
@@ -52,7 +52,6 @@ class ForumBlockTest extends BrowserTestBase {
     // Create 5 forum topics.
     $topics = $this->createForumTopics();
 
-
     $this->assertLink(t('More'), 0, 'New forum topics block has a "more"-link.');
     $this->assertLinkByHref('forum', 0, 'New forum topics block has a "more"-link.');
 
@@ -170,7 +169,7 @@ class ForumBlockTest extends BrowserTestBase {
       ];
 
       // Create the forum topic, preselecting the forum ID via a URL parameter.
-      $this->drupalPostForm('node/add/forum', $edit, t('Save and publish'), ['query' => ['forum_id' => 1]]);
+      $this->drupalPostForm('node/add/forum', $edit, t('Save'), ['query' => ['forum_id' => 1]]);
       $topics[] = $title;
     }