davical/testing/tests/regression-suite/0104-Evo-PUT-1.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

53 lines
1.3 KiB
Plaintext

#
# We PUT an appointment with Evolution
TYPE=PUT
HEADER=If-None-Match: *
HEADER=User-Agent: Evolution/1.8.1
HEADER=Content-Type: text/calendar
HEAD
BEGINDATA
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
PRODID:-//Ximian//NONSGML Evolution Calendar//EN
VERSION:2.0
BEGIN:VEVENT
UID:20061101T073000Z-10468-1000-1-7@ubu
DTSTAMP:20061101T073000Z
DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
20061101T100000
DTEND;TZID=/softwarestudio.org/Olson_20011030_5/Pacific/Auckland:
20061101T110000
SUMMARY:A Meeting
X-EVOLUTION-CALDAV-HREF:http:
//user1@regression.host/caldav.php/user1/home/20061101T073004Z.ics
BEGIN:VALARM
X-EVOLUTION-ALARM-UID:20061101T073000Z-10480-1000-1-5@ubu
ACTION:DISPLAY
TRIGGER;VALUE=DURATION;RELATED=START:-PT15M
DESCRIPTION:A Meeting
END:VALARM
END:VEVENT
BEGIN:VTIMEZONE
TZID:/softwarestudio.org/Olson_20011030_5/Pacific/Auckland
X-LIC-LOCATION:Pacific/Auckland
BEGIN:STANDARD
TZOFFSETFROM:+1300
TZOFFSETTO:+1200
TZNAME:NZST
DTSTART:19700315T030000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=3SU;BYMONTH=3
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+1200
TZOFFSETTO:+1300
TZNAME:NZDT
DTSTART:19701004T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=10
END:DAYLIGHT
END:VTIMEZONE
END:VCALENDAR
ENDDATA
URL=http://regression.host/caldav.php/user1/home/20061101T073004Z.ics