MDL-41228 phpunit: Reset message processors list in unit tests
This commit is contained in:
@@ -194,6 +194,7 @@ class phpunit_util extends testing_util {
|
||||
reset_text_filters_cache(true);
|
||||
events_get_handlers('reset');
|
||||
core_text::reset_caches();
|
||||
get_message_processors(false, true);
|
||||
if (class_exists('repository')) {
|
||||
repository::reset_caches();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user