From 55b2a33ce1363075abcd9ce46a7d06009c257adf Mon Sep 17 00:00:00 2001
From: Michael Aherne <michael.aherne@strath.ac.uk>
Date: Thu, 12 Jan 2017 12:30:39 +0000
Subject: [PATCH] MDL-57634 messaging: Ensure test uses a configured plugin

---
 message/tests/api_test.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/message/tests/api_test.php b/message/tests/api_test.php
index 36ac20eda5c..1ecd86a25af 100644
--- a/message/tests/api_test.php
+++ b/message/tests/api_test.php
@@ -876,7 +876,7 @@ class core_message_api_testcase extends core_message_messagelib_testcase {
      * Tes get_message_processor api.
      */
     public function test_get_message_processor() {
-        $processors = get_message_processors();
+        $processors = get_message_processors(true);
         if (empty($processors)) {
             $this->markTestSkipped("No message processors found");
         }