diff --git a/core/modules/system/src/Tests/System/ThemeTest.php b/core/modules/system/src/Tests/System/ThemeTest.php index e1b091d..17b5a87 100644 --- a/core/modules/system/src/Tests/System/ThemeTest.php +++ b/core/modules/system/src/Tests/System/ThemeTest.php @@ -188,6 +188,10 @@ function testAdministrationTheme() { ); $this->drupalPostForm('admin/appearance', $edit, t('Save configuration')); + // Check that the classy theme cannot be installed as it is a base theme of bartik. + $this->drupalGet('admin/appearance'); + $this->assertNoRaw('Uninstall Classy theme', 'A link to uninstall the classy theme does not appear on the theme settings page.'); + $this->drupalGet('admin/config'); $this->assertRaw('core/themes/seven', 'Administration theme used on an administration page.');