mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-07-13 10:40:20 +00:00
We are now emulating the MKCOL and DELETE(collection) which Chandler is
doing, correctly. This presumably means we should re test with Chandler from this point...
This commit is contained in:
parent
75443b08f4
commit
15ab1df291
@ -0,0 +1,6 @@
|
||||
HTTP/1.1 201 Created
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
10 --- /user1/home/ --- /user1/home/.ce7ad224-8288-11db-ec28-b49a13ab0e46.tmp/ --- 72205b235fa2a3dfd18535c0793b89b2 --- .ce7ad224-8288-11db-ec28-b49a13ab0e46.tmp --- 0
|
||||
17
testing/tests/regression-suite/305-Chandler-MKCOL-1.test
Normal file
17
testing/tests/regression-suite/305-Chandler-MKCOL-1.test
Normal file
@ -0,0 +1,17 @@
|
||||
#
|
||||
# Test the MKCOL which Chandler does at this point in it's
|
||||
# search for understanding
|
||||
#
|
||||
TYPE=MKCOL
|
||||
URL=http://mycaldav/caldav.php/user1/home/.ce7ad224-8288-11db-ec28-b49a13ab0e46.tmp/
|
||||
|
||||
HEADER=Chandler/0.7alpha4 (Linux)
|
||||
HEAD
|
||||
|
||||
#
|
||||
# Query to confirm we got it
|
||||
QUERY
|
||||
SELECT user_no, parent_container, dav_name, dav_etag, dav_displayname, is_calendar
|
||||
FROM collection
|
||||
WHERE dav_name = '/user1/home/.ce7ad224-8288-11db-ec28-b49a13ab0e46.tmp/'
|
||||
ENDQUERY
|
||||
@ -0,0 +1,6 @@
|
||||
HTTP/1.1 204 No Content
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Content-Length: 0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
|
||||
Count of matching calendars (should be 0) --- 0
|
||||
18
testing/tests/regression-suite/306-Chandler-DELETE-1.test
Normal file
18
testing/tests/regression-suite/306-Chandler-DELETE-1.test
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# Test the DELETE of the collection which Chandler does at
|
||||
# this point in it's search for understanding
|
||||
#
|
||||
TYPE=DELETE
|
||||
URL=http://mycaldav/caldav.php/user1/home/.ce7ad224-8288-11db-ec28-b49a13ab0e46.tmp/
|
||||
|
||||
HEADER=Chandler/0.7alpha4 (Linux)
|
||||
HEAD
|
||||
|
||||
#
|
||||
# Query to confirm we got rid of it
|
||||
QUERY
|
||||
SELECT 'Count of matching calendars (should be 0)', count(1)
|
||||
FROM collection
|
||||
WHERE dav_name = '/user1/home/.ce7ad224-8288-11db-ec28-b49a13ab0e46.tmp/'
|
||||
ENDQUERY
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user