davical/testing/tests/regression-suite/0018-Mulberry-PUT-4.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

45 lines
987 B
Plaintext

#
# We now have a calendar so we can PUT an event into it...
TYPE=PUT
HEADER=Content-Type: text/calendar; charset=utf-8
HEAD
BEGINDATA
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//mulberrymail.com//Mulberry v4.0//EN
VERSION:2.0
BEGIN:VTIMEZONE
LAST-MODIFIED:20040110T032845Z
TZID:New Zealand Standard Time
X-LIC-LOCATION:Pacific/Auckland
BEGIN:DAYLIGHT
DTSTART:20000404T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=4
TZNAME:NZDT
TZOFFSETFROM:+1200
TZOFFSETTO:+1300
END:DAYLIGHT
BEGIN:STANDARD
DTSTART:20001026T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=10
TZNAME:NZST
TZOFFSETFROM:+1300
TZOFFSETTO:+1200
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20061108T113035Z
DTSTART;TZID=New Zealand Standard Time:20061030T100000
DURATION:PT1H
LAST-MODIFIED:20061108T113044Z
SEQUENCE:1
SUMMARY:Booking resource 2
UID:C8344958F0CC35344E063A04@D76FAF7B10D9E8D2D41F779C
END:VEVENT
END:VCALENDAR
ENDDATA
URL=http://regression.host/caldav.php/resource2/home/0A5EA1F0F2691A03E917E85F9F255448-0.ics