summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2016-08-18 08:06:48 (GMT)
committerAlex Pott2016-08-18 08:06:56 (GMT)
commitffa0f0dead6c2747659f0552e876611c29b7e07a (patch)
tree548512699a501aa66bfb65570d2ee04c954ee3c4
parent6b53dcfe1dbb8566d754570d40be4812fabf5e0c (diff)
Issue #2785913 by tim.plunkett: StableTemplateOverrideTest does not respect experimental modules
(cherry picked from commit da0645c1f8d061acf3c5b4dba1580800e707c8e7)
-rw-r--r--core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php b/core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php
index 5e2265d..edb6693 100644
--- a/core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php
+++ b/core/tests/Drupal/KernelTests/Core/Theme/StableTemplateOverrideTest.php
@@ -62,9 +62,9 @@ class StableTemplateOverrideTest extends KernelTestBase {
// Enable all core modules.
$all_modules = system_rebuild_module_data();
$all_modules = array_filter($all_modules, function ($module) {
- // 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') {
+ // Filter contrib, hidden, experimental, already enabled modules, and
+ // modules in the Testing package.
+ if ($module->origin !== 'core' || !empty($module->info['hidden']) || $module->status == TRUE || $module->info['package'] == 'Testing' || $module->info['package'] == 'Core (Experimental)') {
return FALSE;
}
return TRUE;