Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupal
Commits
9c98f292
Unverified
Commit
9c98f292
authored
6 years ago
by
Lauri Timmanee
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3006625
by Lendude, borisson_: 'stylesheets-remove' test is broken
parent
6e4b0af2
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!7452
Issue #1797438. HTML5 validation is preventing form submit and not fully...
,
!789
Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/modules/system/tests/src/Functional/Theme/ThemeTest.php
+5
-1
5 additions, 1 deletion
core/modules/system/tests/src/Functional/Theme/ThemeTest.php
core/modules/system/tests/themes/test_theme/test_theme.info.yml
+1
-1
1 addition, 1 deletion
...odules/system/tests/themes/test_theme/test_theme.info.yml
with
6 additions
and
2 deletions
core/modules/system/tests/src/Functional/Theme/ThemeTest.php
+
5
−
1
View file @
9c98f292
...
...
@@ -94,7 +94,11 @@ public function testCSSOverride() {
$config
->
set
(
'css.preprocess'
,
0
);
$config
->
save
();
$this
->
drupalGet
(
'theme-test/suggestion'
);
$this
->
assertNoText
(
'js.module.css'
,
'The theme\'s .info.yml file is able to override a module CSS file from being added to the page.'
);
// We add a "?" to the assertion, because drupalSettings may include
// information about the file; we only really care about whether it appears
// in a LINK or STYLE tag, for which Drupal always adds a query string for
// cache control.
$this
->
assertSession
()
->
responseNotContains
(
'js.module.css?'
);
// Also test with aggregation enabled, simply ensuring no PHP errors are
// triggered during drupal_build_css_cache() when a source file doesn't
...
...
This diff is collapsed.
Click to expand it.
core/modules/system/tests/themes/test_theme/test_theme.info.yml
+
1
−
1
View file @
9c98f292
...
...
@@ -16,7 +16,7 @@ base theme: classy
core
:
8.x
logo
:
images/logo2.svg
stylesheets-remove
:
-
'
@s
ystem/cs
s/js.module.css'
-
'
@s
table/css/system/component
s/js.module.css'
libraries
:
-
test_theme/global-styling
libraries-override
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment