mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +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.
21 lines
446 B
Plaintext
21 lines
446 B
Plaintext
#
|
|
# Test GET access to a non-public calendar using a ticket.
|
|
#
|
|
TYPE=GET
|
|
NOAUTH
|
|
|
|
# Get the ticket we created earlier in 948...
|
|
GETSQL=ticket
|
|
SELECT ticket_id FROM access_ticket
|
|
WHERE target_collection_id = 161 AND target_resource_id is null;
|
|
ENDSQL
|
|
|
|
HEADER=User-Agent: DAViCalTester/public
|
|
HEADER=Ticket: ##ticket##
|
|
HEAD
|
|
|
|
BEGINDATA
|
|
ENDDATA
|
|
|
|
URL=http://regression.host/public.php/user2/home/9429a973-2b13-4b1a-be09-948d75425c45.ics
|