mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-01 16:11:20 +00:00
This allows us to have more complex test files where an action is taken, then we test something, then another action is taken, etc. Changes to test files are required so that URL is defined after all the required settings are set. Changes to the result files are either whitespace changes due to above logic changes, or printing out a SQL Result header before each result. I figured it was useful.
20 lines
518 B
Plaintext
20 lines
518 B
Plaintext
#
|
|
# Test specification compliance for LOCK/UNLOCK request
|
|
# - This should succeed because the actual lock was deleted
|
|
# when the resource was deleted, regardless that the
|
|
# token we supply here is bogus.
|
|
#
|
|
# The response to this should really be 409 precondition
|
|
# failed 'lock-token-matches-request-uri'
|
|
#
|
|
TYPE=UNLOCK
|
|
|
|
HEADER=Lock-Token: <opaquelocktoken:cafefeed-c001-b055-ea75-deadbeef4a11>
|
|
HEAD
|
|
|
|
#
|
|
# There is no data for an UNLOCK request
|
|
#
|
|
|
|
URL=http://regression.host/caldav.php/user1/home/i1278618276.ics
|