Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3443205
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
drupal-3443205
Commits
32070726
Commit
32070726
authored
10 years ago
by
Alex Pott
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2417817
by yched: Keep contrib modules out of ConfigImportAllTest
parent
663c3712
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
core/modules/config/src/Tests/ConfigImportAllTest.php
+3
-3
3 additions, 3 deletions
core/modules/config/src/Tests/ConfigImportAllTest.php
with
3 additions
and
3 deletions
core/modules/config/src/Tests/ConfigImportAllTest.php
+
3
−
3
View file @
32070726
...
...
@@ -51,9 +51,9 @@ public function testInstallUninstall() {
// Get a list of modules to enable.
$all_modules
=
system_rebuild_module_data
();
$all_modules
=
array_filter
(
$all_modules
,
function
(
$module
)
{
// Filter hidden, already enabled modules and modules in the
Testing
// package.
if
(
!
empty
(
$module
->
info
[
'hidden'
])
||
$module
->
status
==
TRUE
||
$module
->
info
[
'package'
]
==
'Testing'
)
{
// Filter
contrib,
hidden, already enabled modules and modules in the
//
Testing
package.
if
(
$module
->
origin
!==
'core'
||
!
empty
(
$module
->
info
[
'hidden'
])
||
$module
->
status
==
TRUE
||
$module
->
info
[
'package'
]
==
'Testing'
)
{
return
FALSE
;
}
return
TRUE
;
...
...
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