MDL-41228 phpunit: Reset message processors list in unit tests
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user