From 77134a08b2135c4073fc9b9e84cf710fbe2f14e2 Mon Sep 17 00:00:00 2001 From: Mihail Geshoski Date: Wed, 31 Oct 2018 14:10:47 +0800 Subject: [PATCH] MDL-63684 core_calendar: Fix test_get_contexts_for_userid() test This issue is part of the MDL-62560 Epic. --- calendar/tests/privacy_test.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/tests/privacy_test.php b/calendar/tests/privacy_test.php index 1b0edc65657..0921296143a 100644 --- a/calendar/tests/privacy_test.php +++ b/calendar/tests/privacy_test.php @@ -104,7 +104,7 @@ class core_calendar_privacy_testcase extends provider_testcase { // Add a Calendar Subscription and Group Calendar Event to Course 3. $this->create_test_calendar_subscription('course', 'https://calendar.google.com/', $user->id, 0, $course3->id); - $this->create_test_standard_calendar_event('group', $user->id, time(), '', 0, $course1->id, $course3group->id); + $this->create_test_standard_calendar_event('group', $user->id, time(), '', 0, $course3->id, $course3group->id); // The user will be in these contexts. $usercontextids = [