summaryrefslogtreecommitdiff
path: root/modules/simpletest/simpletest.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/simpletest/simpletest.module')
-rw-r--r--modules/simpletest/simpletest.module2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/simpletest/simpletest.module b/modules/simpletest/simpletest.module
index 4dd8fe6a4..35f84c2a5 100644
--- a/modules/simpletest/simpletest.module
+++ b/modules/simpletest/simpletest.module
@@ -368,6 +368,8 @@ function simpletest_test_get_all() {
uksort($tests, 'strnatcasecmp');
}
+ // Allow modules extending core tests to disable originals.
+ drupal_alter('simpletest', $groups);
cache_set('simpletest', $groups);
}
}