Further regression test results changes from the caldav-proxy header.
[davical.git] / testing / tests / carddav / 2011-PROPFIND.test
bloba5f8f1f291a7a4c54791549542fcef6b0053ac6e
2 # PROPFIND on addressbook resource
3 # Depth 1 this time, and looking for getetag
5 TYPE=PROPFIND
6 URL=http://mycaldav/caldav.php/user1/addressbook/
7 HEADER=User-Agent: DAViCalTester/public
8 HEADER=Content-Type: text/xml
9 HEADER=Depth: 1
10 # HEAD
13 BEGINDATA
14 <?xml version="1.0" encoding="UTF-8" ?>
15 <propfind xmlns="DAV:">
16  <prop>
17   <getetag/>
18   <getlastmodified/>
19  </prop>
20 </propfind>
21 ENDDATA
23 REPLACE=/<get.tag>"[0-9a-f]{32}"<.get.tag>/<get?tag>"deadbeefcafef00ddeadbeefcafefeed"<.get?tag>/
25 QUERY
26 SELECT count(1)
27 FROM collection LEFT JOIN caldav_data USING(collection_id)
28 WHERE collection.dav_name = '/user1/addressbook/'
29 ENDQUERY