X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=dav%2FSabreDAV%2Ftests%2FSabre%2FCalDAV%2FCalendarQueryValidatorTest.php;h=18c8330db203d1e31326a4d1ce6476203cb6388c;hb=66384e2e2c8160479253b28deb1b77e838317f95;hp=b75c398ab232880e9acd1f92812aae31fe76e41a;hpb=ecb88c93f0403854858ef16ec0bb0ae52b73dd4f;p=friendica-addons.git diff --git a/dav/SabreDAV/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php b/dav/SabreDAV/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php index b75c398a..18c8330d 100644 --- a/dav/SabreDAV/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php +++ b/dav/SabreDAV/tests/Sabre/CalDAV/CalendarQueryValidatorTest.php @@ -343,6 +343,14 @@ DURATION:PT1H RRULE:FREQ=YEARLY END:VEVENT END:VCALENDAR +yow; + $blob33 = << null, ); - // Time-range with RRULE - + $filter38 = array( + 'name' => 'VEVENT', + 'comp-filters' => array(), + 'prop-filters' => array(), + 'is-not-defined' => false, + 'time-range' => array( + 'start' => new DateTime('2012-07-01 00:00:00', new DateTimeZone('UTC')), + 'end' => new DateTime('2012-08-01 00:00:00', new DateTimeZone('UTC')), + ) + ); return array( // Component check @@ -741,6 +757,9 @@ yow; array($blob31, $filter20, 1), array($blob32, $filter20, 0), + // Bug reported on mailing list, related to all-day events. + array($blob33, $filter38, 1), + ); }