Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0606-Soho-PROPPATCH.test
blobc87235d3f250f904a13dae22bd10bdbae8606cfb
2 # SOHO Organizer works best looking at the person
4 # Make some changes to the calendar properties
6 TYPE=PROPPATCH
8 # Note the URL doesn't have a trailling '/'
9 URL=http://regression.host/caldav.php/user1/SOHO%20collection
11 HEADER=User-Agent: SOHO Organizer/6.5.2 libcurl/7.17.0 OpenSSL/0.9.7l zlib/1.2.3 libssh2/0.17
12 HEADER=Content-Type: text/xml; charset=utf-8
13 HEADER=Accept: */*
14 HEADER=Content-Type: application/xml; charset="utf-8"
16 HEAD
19 BEGINDATA
20 <?xml version="1.0" encoding="utf-8" ?><D:propertyupdate xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav" xmlns:I="com.apple.ical:"><D:set><D:prop><D:displayname>home</D:displayname><C:calendar-description>Calendar description</C:calendar-description><I:calendarcolor>#FF8000FF</I:calendarcolor></D:prop></D:set></D:propertyupdate>
21 ENDDATA
23 QUERY
24 SELECT * FROM collection JOIN property USING (dav_name)
25         WHERE collection.dav_name = '/user1/SOHO collection';
26 ENDQUERY