MDL-45565 core_message: Reset internal users in phpunit

This commit is contained in:
Rajesh Taneja
2014-05-27 09:50:21 +08:00
parent 543ef5fa7c
commit d160b700e8
+3
View File
@@ -207,6 +207,9 @@ class phpunit_util extends testing_util {
core_text::reset_caches();
get_message_processors(false, true);
filter_manager::reset_caches();
// Reset internal users.
core_user::reset_internal_users();
//TODO MDL-25290: add more resets here and probably refactor them to new core function
// Reset course and module caches.