mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-01 16:11:20 +00:00
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.
55 lines
1.5 KiB
Plaintext
55 lines
1.5 KiB
Plaintext
#
|
|
# PUT a confidential item in the calendar which we won't be able to see
|
|
# as a different user (later).
|
|
#
|
|
TYPE=PUT
|
|
HEADER=User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a2pre) Gecko/20061222 Calendar/3.0a1
|
|
HEADER=Accept: text/html,application/xhtml+xml;q=0.9,application/xml;q=0.8,*/*;q=0.7
|
|
HEADER=Accept-Language: en-us,en;q=0.5
|
|
HEADER=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
|
|
HEADER=Content-Type: text/calendar; charset=utf-8
|
|
|
|
HEAD
|
|
|
|
BEGINDATA
|
|
BEGIN:VCALENDAR
|
|
PRODID:-//Mozilla Calendar//NONSGML Sunbird//EN
|
|
VERSION:2.0
|
|
BEGIN:VEVENT
|
|
CREATED:20061223T031415Z
|
|
LAST-MODIFIED:20061223T032305Z
|
|
DTSTAMP:20061223T032305Z
|
|
UID:1906b3ca-4890-468a-9b58-1de74bf2c716
|
|
SUMMARY:Private Event
|
|
PRIORITY:0
|
|
STATUS:CONFIRMED
|
|
CLASS:PRIVATE
|
|
DTSTART;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061223T130000
|
|
DTEND;TZID=/mozilla.org/20050126_1/Pacific/Auckland:20061223T150000
|
|
X-MOZ-LOCATIONPATH:1906b3ca-4890-468a-9b58-1de74bf2c716.ics
|
|
LOCATION:At a private location
|
|
DESCRIPTION:Private and Confirmed
|
|
END:VEVENT
|
|
BEGIN:VTIMEZONE
|
|
TZID:/mozilla.org/20050126_1/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/1906b3ca-4890-468a-9b58-1de74bf2c716.ics
|