Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0880-Freebusy-POST.test
blob30218a31f0705b748b7fadfe41766ffe19dce538
2 # Testing for Spec compliance.  POST on outbox for
3 # free/busy information
5 TYPE=POST
6 URL=http://regression.host/caldav.php/user1/.out/
7 HEADER=User-Agent: draft-schedule-05 Spec Tests
8 HEADER=Content-Type: text/calendar
10 REPLACE=#<creationdate>\d{8}T\d{6}</creationdate>#<creationdate>YYYYMMDDThhmmss</creationdate>#
12 BEGINDATA
13 BEGIN:VCALENDAR
14 PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
15 VERSION:2.0
16 METHOD:REQUEST
17 BEGIN:VFREEBUSY
18 DTSTAMP:20081019T202752Z
19 ORGANIZER:mailto:user1@example.net
20 DTSTART:20081021T110000Z
21 DTEND:20081106T110000Z
22 UID:1e680b0e-ee15-4d63-844f-3e48aa92791f
23 ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL:
24  mailto:user1@example.net
25 ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;CUTYPE=INDIVIDUAL:
26  mailto:user2@example.net
27 END:VFREEBUSY
28 END:VCALENDAR
29 ENDDATA
31 REPLACE=/^DTSTAMP:\d{4}[01]\d[0123]\dT[012]\d[0-5]\d[0-6]\dZ\r?$/DTSTAMP:yyyymmddThhmmssZ/