Add test for an event in the far future

This commit is contained in:
Andrew Ruthven 2024-01-20 15:55:54 +13:00
parent 1c7954fc51
commit 3defc7b266
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,13 @@
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//artisanal-handcrafted-ICS.com//NONSGML Artisanal.iCal 1.0//EN
BEGIN:VEVENT
CLASS:PUBLIC
DTSTAMP:20240120T034700Z
DTSTART;VALUE=DATE:21110917
DTEND;VALUE=DATE:21110918
SUMMARY:Test date in the far future
TRANSP:TRANSPARENT
UID:2701-Future-Event
END:VEVENT
END:VCALENDAR

View File

@ -0,0 +1,8 @@
HTTP/1.1 201 Created
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
ETag: "57167f4aba72134aa085aa2888acd651"
Content-Length: 0
Content-Type: text/plain; charset="utf-8"

View File

@ -0,0 +1,12 @@
#
# PUT an event that is far in the future.
# Note, in 2111-09-17 we'll need to update this test. Might be up to my
# great grandkids.
#
TYPE=PUT
URL=http://regression.host/caldav.php/user1/home/2701-Future-Event.ics
HEADER=User-Agent: CalDavSynchronizer/4.4
HEADER=Content-Type: text/calendar; charset=utf-8
HEAD
#
DATA=2701-Future-Event.ics