davical/testing/tests/regression-suite/2412-RFC5545-Compliance-MONHTLY-CleanUp.test
Andrew Ruthven 64f47fd9e6 Tests for MONTHLY recurrence where DTSTART is on the 29th of Feb
Each of the recurring events should also be on the 29th. Currently
these tests fail as the generated events are on the 28th. Oops.
2022-12-18 13:52:48 +13:00

23 lines
813 B
Plaintext

#
# Remove the event that repeats monthly on the 31st.
#
TYPE=DELETE
URL=http://regression.host/caldav.php/user4/home/RFC5545-Compliance-MONTHLY-Feb.ics
HEADER=Content-Type: text/calendar
AUTH=user4:user4
HEAD
QUERY
SELECT caldav_data.user_no, caldav_data.dav_etag, caldav_type, logged_user,
uid, dtstamp, dtstart at time zone olson_name as dtstart,
dtend at time zone olson_name as dtend, due, summary, location,
description, priority, class, transp, rrule, url,
percent_complete, tz_id, status,
caldav_data AS " CalDAV Data", calendar_item.last_modified,
dtend - dtstart AS "~Duration"
FROM caldav_data LEFT JOIN calendar_item USING(dav_name) LEFT JOIN timezones ON (tz_id=tzid)
WHERE caldav_data.dav_name =
'/user4/home/RFC5545-Compliance-MONTHLY-Feb.ics';
ENDQUERY