Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
bdafa44d
Commit
bdafa44d
authored
Nov 23, 2014
by
alexpott
Browse files
Issue
#2380605
by emma.maria, lauriii: Bartik layout broken
parent
bbb4de91
Changes
3
Hide whitespace changes
Inline
Side-by-side
core/modules/system/src/Tests/Theme/ThemeInfoTest.php
View file @
bdafa44d
...
...
@@ -99,13 +99,13 @@ public function testChanges() {
$active_theme
=
$this
->
themeManager
->
getActiveTheme
();
// Make sure we are not testing the wrong theme.
$this
->
assertEqual
(
'test_theme'
,
$active_theme
->
getName
());
$this
->
assertEqual
([],
$active_theme
->
getLibraries
());
$this
->
assertEqual
([
'classy/base'
],
$active_theme
->
getLibraries
());
// @see theme_test_system_info_alter()
$this
->
state
->
set
(
'theme_test.modify_info_files'
,
TRUE
);
drupal_flush_all_caches
();
$active_theme
=
$this
->
themeManager
->
getActiveTheme
();
$this
->
assertEqual
([
'core/backbone'
],
$active_theme
->
getLibraries
());
$this
->
assertEqual
([
'classy/base'
,
'core/backbone'
],
$active_theme
->
getLibraries
());
}
}
core/themes/classy/classy.info.yml
View file @
bdafa44d
...
...
@@ -5,6 +5,5 @@ package: Core
version
:
VERSION
core
:
8.x
stylesheets
:
all
:
-
css/layout.css
libraries
:
-
classy/base
core/themes/classy/classy.libraries.yml
0 → 100644
View file @
bdafa44d
base
:
version
:
VERSION
css
:
theme
:
css/layout.css
:
{}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment