MDL-33774 Reset filters caches between unit tests

This commit is contained in:
Marina Glancy
2013-02-14 19:46:19 +11:00
parent 173115e14c
commit 73a0f3ba76
2 changed files with 30 additions and 0 deletions
+1
View File
@@ -171,6 +171,7 @@ class phpunit_util extends testing_util {
if (class_exists('repository')) {
repository::reset_caches();
}
filter_manager::reset_caches();
//TODO MDL-25290: add more resets here and probably refactor them to new core function
// Reset course and module caches.