diff --git a/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php b/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php index 53713a9..7e69be8 100644 --- a/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php +++ b/core/modules/config_translation/src/Tests/ConfigTranslationUiThemeTest.php @@ -55,14 +55,14 @@ protected function setUp() { * Tests that theme provided *.config_translation.yml files are found. */ public function testThemeDiscovery() { - // Install the test theme and rebuild routes. + // Enable the test theme and rebuild routes. $theme = 'config_translation_test_theme'; $this->drupalLogin($this->adminUser); $this->drupalGet('admin/appearance'); $elements = $this->xpath('//a[normalize-space()=:label and contains(@href, :theme)]', [ - ':label' => 'Install and set as default', + ':label' => 'Enable and set as default', ':theme' => $theme, ]); $this->drupalGet($GLOBALS['base_root'] . $elements[0]['href'], ['external' => TRUE]); diff --git a/core/modules/system/src/Tests/System/ThemeTest.php b/core/modules/system/src/Tests/System/ThemeTest.php index d0e372e..ded8c8f 100644 --- a/core/modules/system/src/Tests/System/ThemeTest.php +++ b/core/modules/system/src/Tests/System/ThemeTest.php @@ -378,8 +378,8 @@ public function testUninstallingThemes() { ]; $this->drupalPostForm('admin/appearance', $edit, t('Save configuration')); - // Check that seven can be uninstalled now. - $this->assertRaw('Uninstall Seven theme', 'A link to uninstall the Seven theme does appear on the theme settings page.'); + // Check that seven can be disabled now. + $this->assertRaw('Disable Seven theme', 'A link to Disable the Seven theme does appear on the theme settings page.'); // Check that the classy theme still cannot be uninstalled as it is a // base theme of bartik. $this->assertNoRaw('Uninstall Classy theme', 'A link to uninstall the Classy theme does not appear on the theme settings page.'); @@ -387,19 +387,19 @@ public function testUninstallingThemes() { // Change the default theme to stark, stark is second in the list. $this->clickLink(t('Set as default'), 1); - // Check that bartik can be uninstalled now. - $this->assertRaw('Uninstall Bartik theme', 'A link to uninstall the Bartik theme does appear on the theme settings page.'); + // Check that bartik can be disabled now. + $this->assertRaw('Disable Bartik theme', 'A link to uninstall the Bartik theme does appear on the theme settings page.'); // Check that the classy theme still can't be uninstalled as neither of it's // base themes have been. $this->assertNoRaw('Uninstall Classy theme', 'A link to uninstall the Classy theme does not appear on the theme settings page.'); - // Uninstall each of the three themes starting with Bartik. - $this->clickLink(t('Uninstall')); - $this->assertRaw('The Bartik theme has been uninstalled'); + // Disable each of the three themes starting with Bartik. + $this->clickLink(t('Disable')); + $this->assertRaw('The Bartik theme has been Disabled'); // Seven is the second in the list. - $this->clickLink(t('Uninstall')); - $this->assertRaw('The Seven theme has been uninstalled'); + $this->clickLink(t('Disable')); + $this->assertRaw('The Seven theme has been Disabled'); // Check that the classy theme still can't be uninstalled as it is hidden. $this->assertNoRaw('Uninstall Classy theme', 'A link to uninstall the Classy theme does not appear on the theme settings page.');