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.
52 lines
1.4 KiB
Plaintext
52 lines
1.4 KiB
Plaintext
SQL executed successfully.
|
|
DELETE FROM caldav_data WHERE caldav_data.dav_name ~ '/user1/addressbook/donald_kelly.vcf'
|
|
|
|
HTTP/1.1 201 Created
|
|
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
|
DAV: 1, 2, 3, access-control, calendar-access, calendar-schedule
|
|
DAV: extended-mkcol, bind, addressbook, calendar-auto-schedule, calendar-proxy
|
|
Content-Length: 0
|
|
Content-Type: text/plain; charset="utf-8"
|
|
|
|
|
|
SQL Query 1 Result:
|
|
dav_id: >1016<
|
|
|
|
SQL Query 2 Result:
|
|
caladruri: >NULL<
|
|
caluri: >NULL<
|
|
dav_name: >/user1/addressbook/donald_kelly.vcf<
|
|
etag_not_null: >1<
|
|
fburl: >NULL<
|
|
fn: >Donald Kelly<
|
|
n: >Kelly;Donald;;;<
|
|
nickname: >NULL<
|
|
note: >NULL<
|
|
org: >Esposo Designs Ltd<
|
|
uid_not_null: >1<
|
|
url: >www.example.co.nz<
|
|
version: >2.1<
|
|
|
|
SQL Query 3 Result:
|
|
box_no: ><
|
|
country: >New Zealand<
|
|
locality: >Newtown<
|
|
postcode: ><
|
|
property: >ADR:;;25 Rintoul St;Newtown;Wellington;;New Zealand<
|
|
region: >Wellington<
|
|
street_address: >25 Rintoul St<
|
|
type: >NULL<
|
|
unit_no: ><
|
|
|
|
SQL Query 4 Result:
|
|
tel: >+64 2 1234-4321<
|
|
type: >cell<
|
|
|
|
tel: >+64 4 347 4747<
|
|
type: >work<
|
|
|
|
SQL Query 5 Result:
|
|
email: >donald@example.co.nz<
|
|
type: >internet<
|
|
|