From 2c17ac9d2d2d72c62e5828b646d75733d6f51596 Mon Sep 17 00:00:00 2001 From: David Pesce <davidpesce@gmail.com> Date: Sun, 11 Jun 2017 14:59:51 -0400 Subject: [PATCH] sendmbox missing again --- tests/TestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/TestCase.php b/tests/TestCase.php index 8902879..6aa70bb 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -32,11 +32,11 @@ abstract class TestCase extends PhpUnitTestCase { $moodle_events = $this->moodle_controller->createEvents([$input]); $this->assertNotNull($moodle_events, 'Check that the events exist in the expander controller.'); -/* //Hack to add Moodle plugin config setting for sendmbox - need to make config function + //Hack to add Moodle plugin config setting for sendmbox - need to make config function $moodle_events = [array_merge( $moodle_events[0], ['sendmbox' => false] - )];*/ + )]; $translator_events = $this->translator_controller->createEvents($moodle_events); $this->assertNotNull($translator_events, 'Check that the events exist in the translator controller.'); -- GitLab