MDL-41228 phpunit: Reset message processors list in unit tests

This commit is contained in:
Yuliya Bozhko
2013-09-03 17:39:18 +12:00
parent 661777c503
commit 5dffc067da
3 changed files with 33 additions and 1 deletions
+1
View File
@@ -187,6 +187,7 @@ class phpunit_util extends testing_util {
reset_text_filters_cache(true);
events_get_handlers('reset');
textlib::reset_caches();
get_message_processors(false, true);
if (class_exists('repository')) {
repository::reset_caches();
}