Commit 66ddfda7 authored by Dries's avatar Dries

- Patch #274994 by R.Muilwijk, boombatower: bring back the includes-tests.

parent 2877c102
......@@ -427,6 +427,10 @@ function simpletest_get_all_tests() {
}
}
foreach (file_scan_directory('includes/tests', '\.test$') as $file) {
$files[] = $file->filename;
}
$existing_classes = get_declared_classes();
foreach ($files as $file) {
include_once($file);
......@@ -459,6 +463,7 @@ function simpletest_categorize_tests($tests) {
$info = $instance->getInfo();
$groups[$info['group']][$test] = $instance;
}
uksort($groups, 'strnatcasecmp');
return $groups;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment