Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0803-Mulberry-PUT-1.test
blobe1cfd15408b43c8ddbb8d8641d1bc5a9d90bc8a1
2 # Attempt to put this event into a location that is locked.
4 TYPE=PUT
5 URL=http://regression.host/caldav.php/user1/home/i1278618276.ics
7 HEADER=Content-Type: text/calendar; charset=utf-8
8 HEAD
10 BEGINDATA
11 BEGIN:VCALENDAR
12 PRODID:-//Facebook//NONSGML Facebook Events V0.9//EN
13 X-ORIGINAL-URL:http://www.facebook.com/event.php?eid=33142748183
14 VERSION:2.0
15 CALSCALE:GREGORIAN
16 METHOD:PUBLISH
17 BEGIN:VEVENT
18 DTSTAMP:20081030T194443
19 LAST-MODIFIED:20081030T194443
20 CREATED:20081030T194401
21 SEQUENCE:42
22 ORGANIZER:MAILTO:sigurd@sliverstripe.com
23 DTSTART:20081117T180000
24 DTEND:20081117T210000
25 UID:e33142748183@facebook.com
26 SUMMARY:Wellington Meetup and v2.3 pre-release party
27 LOCATION:Southern Cross Bar/Restaurant\, Cub
28  a St/Able Smith St intersection
29 URL:http://www.facebook.com/event.php?eid=33142748183
30 DESCRIPTION:Food\, alcohol\, code\, and websites.
31   What more do you want in life?\n\nW
32  e're interesting in meeting up wit
33  h the local web community and thos
34  e who use SilverStripe\, so that we
35   can listen to your ideas and answ
36  er your questions\, technical or ot
37  herwise.\n\nWe'll also be demonstrat
38  ing what's coming in SilverStripe 
39  v2.3\, and you get to meet the peop
40  le behind the code!\n\n\nhttp://www.f
41  acebook.com/event.php?eid=33142748
42  183
43 CLASS:PUBLIC
44 CATEGORIES:
45 STATUS:CONFIRMED
46 PARTSTAT:ACCEPTED
47 END:VEVENT
48 END:VCALENDAR
49 ENDDATA
51 QUERY
52 SELECT 'Should be 0' AS prompt, count(*)
53   FROM caldav_data JOIN calendar_item USING(dav_name)
54   WHERE caldav_data.dav_name ~ '^/user1/home/i1278618276.ics'
55 ENDQUERY