Stop these regression tests prompting me when they haven't really changed.

This commit is contained in:
Andrew McMillan 2010-02-26 13:39:05 +13:00
parent 4f5badd549
commit 7a3adb6764
4 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,7 @@
HTTP/1.1 207 Multi-Status
Date: Dow, 01 Jan 2000 00:00:00 GMT
DAV: 1, 2, access-control, calendar-access, calendar-schedule, extended-mkcol, calendar-proxy
ETag: "cf47b2d3fca4589724c229b9e15accb4"
ETag: "Looks like a good ETAG to me :-)"
Content-Length: 514
Content-Type: text/xml; charset="utf-8"
@ -18,7 +18,7 @@ Content-Type: text/xml; charset="utf-8"
<owner>
<href>/caldav.php/user5/</href>
</owner>
<C1:getctag>"ce0d2291b1997c04cbc9d686d8cc3b40"</C1:getctag>
<C1:getctag>"Looks like a good CTAG to me :-)"</C1:getctag>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>

View File

@ -22,3 +22,6 @@ BEGINDATA
</D:prop>
</D:propfind>
ENDDATA
REPLACE=!<C1:getctag>"[a-z0-9]+"</C1:getctag>!<C1:getctag>"Looks like a good CTAG to me :-)"</C1:getctag>!
REPLACE=!^ETag: "[a-z0-9]+"!ETag: "Looks like a good ETAG to me :-)"!

View File

@ -5,9 +5,9 @@ Content-Length: 0
Content-Type: text/plain; charset="utf-8"
cd_collection: >2695<
cd_collection: >1396<
cd_user_no: >10<
ci_collection: >2695<
ci_collection: >1396<
ci_user_no: >10<
data_name: >/user1/entire/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<
item_name: >/user1/entire/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<

View File

@ -15,6 +15,7 @@ SELECT caldav_data.dav_name AS data_name, calendar_item.dav_name AS item_name,
caldav_data.collection_id AS cd_collection,
calendar_item.collection_id AS ci_collection
FROM caldav_data JOIN calendar_item USING(dav_id)
WHERE caldav_data.dav_name ~ 'DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics';
WHERE caldav_data.dav_name ~ 'DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics'
ORDER BY cd_collection;
ENDQUERY