MDL-52060 phpunit: Improve get_message_processors reset
[moodle.git] / lib / phpunit / classes / util.php
index 2321e4a..0da8931 100644 (file)
@@ -207,7 +207,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);
+        get_message_processors(false, true, true);
         filter_manager::reset_caches();
         core_filetypes::reset_caches();