test: remove dependency on the current date

This commit is contained in:
Piotr Filip 2020-07-22 17:40:59 +02:00 committed by Andrew Ruthven
parent 33509866fb
commit bc1bbd3da0

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();