MDL-60958 calendar: fix test helper action factory

This commit is contained in:
Ryan Wyllie 2018-02-12 05:44:06 +00:00
parent 28852998f6
commit 4e0ac12efa

View File

@ -126,7 +126,7 @@ class action_event_test_factory implements event_factory_interface {
$user->id = $id;
return $user;
}),
new repeat_event_collection($record->id, null, $this),
!empty($record->repeatid) ? new repeat_event_collection($record, $this) : null,
$module,
$record->eventtype,
new event_times(