davical/testing/tests/regression-suite/0538-iCal4-PUT.test
Andrew Ruthven 7c47658bee Make the curl and SQL requests when we see them
This allows us to have more complex test files where an action is taken, then
we test something, then another action is taken, etc.

Changes to test files are required so that URL is defined after all the
required settings are set.

Changes to the result files are either whitespace changes due to above logic
changes, or printing out a SQL Result header before each result. I figured it
was useful.
2024-04-01 22:57:10 +13:00

48 lines
978 B
Plaintext

#
# Testing with a process similar to iCal4
#
TYPE=PUT
HEAD
HEADER=DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6.1 (10B504)
HEADER=Content-Type: text/calendar
#
#
BEGINDATA
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Apple Inc.//iCal 4.0//EN
CALSCALE:GREGORIAN
BEGIN:VTIMEZONE
TZID:Europe/Prague
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
DTSTART:19810329T020000
TZNAME:GMT+02:00
TZOFFSETTO:+0200
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
DTSTART:19961027T030000
TZNAME:GMT+01:00
TZOFFSETTO:+0100
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20091006T225807Z
UID:70D23799-4A68-4905-AB9F-4D47BA693CFD
DTEND;TZID=Europe/Prague:20091005T150000
TRANSP:OPAQUE
SUMMARY:New Event
DTSTART;TZID=Europe/Prague:20091005T140000
DTSTAMP:20091006T225808Z
SEQUENCE:1
END:VEVENT
END:VCALENDAR
ENDDATA
URL=http://regression.host/caldav.php/user1/home/70D23799-4A68-4905-AB9F-4D47BA693CFD.ics