MDL-63684 core_calendar: Fix test_get_contexts_for_userid() test

This issue is part of the MDL-62560 Epic.
This commit is contained in:
Mihail Geshoski
2018-10-31 14:12:08 +08:00
parent 8782043946
commit df0a4ec014
+1 -1
View File
@@ -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 = [