davical/testing/tests/regression-suite/0021-Mulberry-DELETE-2.test
Andrew McMillan 34a27d126d Refactor PUT functions to set modified/created dates more correctly.
Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2010-12-27 18:23:13 +13:00

13 lines
346 B
Plaintext

#
# Do a DELETE with a correct etag which will succeed.
TYPE=DELETE
URL=http://mycaldav/caldav.php/user1/home/F56B49B10FC923D20FE2DC92D6580340-0.ics
HEADER=If-Match: "6cff373f55c3e8318ad1c0db93205d08"
HEAD
QUERY
SELECT dav_id, dav_name, dav_etag
FROM caldav_data
WHERE dav_name = '/user1/home/F56B49B10FC923D20FE2DC92D6580340-0.ics'
ENDQUERY