MDL-35898 include static course caches in test resets

This commit is contained in:
Petr Škoda
2012-10-09 10:10:19 +02:00
parent 562dbe408e
commit e22cff45ab
+4
View File
@@ -618,6 +618,10 @@ class phpunit_util {
$GROUPLIB_CACHE = null;
//TODO MDL-25290: add more resets here and probably refactor them to new core function
// Rest course and module caches.
$reset = 'reset';
get_fast_modinfo($reset);
// purge dataroot directory
self::reset_dataroot();