diff --git a/core/modules/config/src/Tests/ConfigFormOverrideTest.php b/core/modules/config/src/Tests/ConfigFormOverrideTest.php index 14726c5..be1e9df 100644 --- a/core/modules/config/src/Tests/ConfigFormOverrideTest.php +++ b/core/modules/config/src/Tests/ConfigFormOverrideTest.php @@ -35,7 +35,7 @@ public function testFormsWithOverrides() { // Test that everything on the form is the same, but that the override // worked for the actual site name. $this->drupalGet('admin/config/system/site-information'); - $this->assertTitle('Site information | ' . $overridden_name); + $this->assertTitle('Basic site settings | ' . $overridden_name); $elements = $this->xpath('//input[@name="site_name"]'); $this->assertIdentical((string) $elements[0]['value'], 'Drupal'); @@ -44,7 +44,7 @@ public function testFormsWithOverrides() { 'site_name' => 'Custom site name', ); $this->drupalPostForm('admin/config/system/site-information', $edit, t('Save configuration')); - $this->assertTitle('Site information | ' . $overridden_name); + $this->assertTitle('Basic site settings | ' . $overridden_name); $elements = $this->xpath('//input[@name="site_name"]'); $this->assertIdentical((string) $elements[0]['value'], $edit['site_name']); } diff --git a/core/modules/system/src/Tests/System/AccessDeniedTest.php b/core/modules/system/src/Tests/System/AccessDeniedTest.php index 43090eb..5c6c3bf 100644 --- a/core/modules/system/src/Tests/System/AccessDeniedTest.php +++ b/core/modules/system/src/Tests/System/AccessDeniedTest.php @@ -107,6 +107,6 @@ function testAccessDenied() { $this->drupalPostForm('admin/config/system/site-information', $edit, t('Log in')); // Check that we're still on the same page. - $this->assertText(t('Site information')); + $this->assertText(t('Basic site settings')); } }