Commit ad781731 authored by Dries's avatar Dries

- Patch #464732 by deviantintegral: fixed variable name.

parent 66f88efa
......@@ -205,8 +205,8 @@ function _simpletest_batch_finished($success, $results, $operations, $elapsed) {
* versions of the classes as the values.
*/
function simpletest_get_all_tests() {
static $formatted_classes;
if (!isset($formatted_classes)) {
static $classes;
if (!isset($classes)) {
require_once DRUPAL_ROOT . '/' . drupal_get_path('module', 'simpletest') . '/drupal_web_test_case.php';
$files = array();
foreach (array_keys(module_rebuild_cache()) as $module) {
......
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