diff --git a/core/modules/system/src/Tests/Theme/ThemeTest.php b/core/modules/system/src/Tests/Theme/ThemeTest.php index ba2e874..c781133 100644 --- a/core/modules/system/src/Tests/Theme/ThemeTest.php +++ b/core/modules/system/src/Tests/Theme/ThemeTest.php @@ -208,7 +208,10 @@ function testListThemes() { // Check for base theme and subtheme lists. $base_theme_list = array('test_basetheme' => 'Theme test base theme'); - $sub_theme_list = array('test_subtheme' => 'Theme test subtheme'); + $sub_theme_list = [ + 'test_subtheme' => 'Theme test subtheme', + 'test_chained_subtheme' => 'Theme test chained subtheme', + ]; $this->assertIdentical($themes['test_basetheme']->sub_themes, $sub_theme_list, 'Base theme\'s object includes list of subthemes.'); $this->assertIdentical($themes['test_subtheme']->base_themes, $base_theme_list, 'Subtheme\'s object includes list of base themes.'); // Check for theme engine in subtheme.