test: remove dependency on the current date

This commit is contained in:
Piotr Filip authored and Andrew Ruthven committed 2021-01-25 00:08:13 +13:00
1 parent 33509866fb
commit bc1bbd3da0
1 file changed
+1 -1
+1 -1
View File
@@ -93,7 +93,7 @@ END:VCALENDAR
* rather than making SQL queries
*/
function get_freebusyish(vCalendar $cal) {
$expansion = expand_event_instances($cal)->GetComponents(['VEVENT' => true]);
$expansion = expand_event_instances($cal, new RepeatRuleDateTime('2019-01-01 00:00:00'))->GetComponents(['VEVENT' => true]);
$result = array();