MDL-57634 messaging: Ensure test uses a configured plugin
authorMichael Aherne <michael.aherne@strath.ac.uk>
Thu, 12 Jan 2017 12:30:39 +0000 (12:30 +0000)
committerMichael Aherne <michael.aherne@strath.ac.uk>
Thu, 12 Jan 2017 12:30:39 +0000 (12:30 +0000)
message/tests/api_test.php

index 36ac20e..1ecd86a 100644 (file)
@@ -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");
         }