diff --git a/core/modules/search/src/Tests/SearchConfigSettingsFormTest.php b/core/modules/search/src/Tests/SearchConfigSettingsFormTest.php index beaefe6..d332e1c 100644 --- a/core/modules/search/src/Tests/SearchConfigSettingsFormTest.php +++ b/core/modules/search/src/Tests/SearchConfigSettingsFormTest.php @@ -256,7 +256,7 @@ public function testMultipleSearchPages() { $edit['label'] = $this->randomString(); $edit['id'] = strtolower($this->randomMachineName(8)); $edit['path'] = $first['path']; - $this->drupalPostForm(NULL, $edit, t('Add search page')); + $this->drupalPostForm(NULL, $edit, t('Search')); $this->assertText(t('The search page path must be unique.')); // Add a second search page. @@ -264,7 +264,7 @@ public function testMultipleSearchPages() { $second['label'] = $this->randomString(); $second_id = $second['id'] = strtolower($this->randomMachineName(8)); $second['path'] = strtolower($this->randomMachineName(8)); - $this->drupalPostForm(NULL, $second, t('Add search page')); + $this->drupalPostForm(NULL, $second, t('Search')); $this->assertDefaultSearch($first_id, 'The default page matches the only search page.'); // Ensure both search pages have their tabs displayed.