Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0889-POST-freebusy.test
blobe6c5e76342126a082a2364e4730613ff1933e49d
2 # Testing for Spec compliance.  POST on outbox for
3 # free/busy information but this time try and get as many
4 # events included in the processing as possible
6 TYPE=POST
7 URL=http://regression.host/caldav.php/user1/.out/
8 HEADER=User-Agent: draft-schedule-05 Spec Tests
9 HEADER=Content-Type: text/calendar
11 REPLACE=#<creationdate>\d{8}T\d{6}</creationdate>#<creationdate>YYYYMMDDThhmmss</creationdate>#
13 BEGINDATA
14 BEGIN:VCALENDAR
15 PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
16 VERSION:2.0
17 METHOD:REQUEST
18 BEGIN:VFREEBUSY
19 DTSTAMP:20081019T202752Z
20 ORGANIZER:mailto:user1@example.net
21 DTSTART:20001021T110000Z
22 DTEND:20101106T110000Z
23 UID:1e680b0e-ee15-4d63-844f-3e48aa92791f
24 ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL:
25  mailto:user1@example.net
26 ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL:
27  mailto:user2@example.net
28 ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL:
29  mailto:user3@example.net
30 ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL:
31  mailto:user4@example.net
32 ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL:
33  mailto:user6@example.net
34 ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL:
35  mailto:resource2@example.net
36 END:VFREEBUSY
37 END:VCALENDAR
38 ENDDATA
40 REPLACE=/^DTSTAMP:\d{4}[01]\d[0123]\dT[012]\d[0-5]\d[0-6]\dZ\r?$/DTSTAMP:yyyymmddThhmmssZ/