mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-06-08 04:50:55 +00:00
Test PROPPATCH to change the name of a calendar.
This commit is contained in:
parent
10f0e300ab
commit
96ebfb59d0
14
testing/tests/regression-suite/509-iCal-PROPPATCH.result
Normal file
14
testing/tests/regression-suite/509-iCal-PROPPATCH.result
Normal file
@ -0,0 +1,14 @@
|
||||
HTTP/1.1 200 OK
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
DAV: 1, 2, access-control, calendar-access
|
||||
Content-Length: 256
|
||||
Content-Type: text/xml; charset="utf-8"
|
||||
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<multistatus xmlns="DAV:">
|
||||
<response>
|
||||
<href>/caldav.php/user1/6E20BB7C-EFD9-4F0F-9BDC-5335E04D47E0/</href>
|
||||
<responsedescription>All requested changes were made.</responsedescription>
|
||||
</response>
|
||||
</multistatus>
|
||||
iCal Calendar --- 1
|
||||
29
testing/tests/regression-suite/509-iCal-PROPPATCH.test
Normal file
29
testing/tests/regression-suite/509-iCal-PROPPATCH.test
Normal file
@ -0,0 +1,29 @@
|
||||
#
|
||||
# iCal does a PROPPATCH to change the name of a calendar
|
||||
#
|
||||
TYPE=PROPPATCH
|
||||
URL=http://mycaldav/caldav.php/user1/6E20BB7C-EFD9-4F0F-9BDC-5335E04D47E0/
|
||||
HEADER=Content-Type: text/xml
|
||||
HEADER=User-Agent: DAVKit/2.0 (10.5.1; wrbt) iCal 3.0.1
|
||||
HEAD
|
||||
|
||||
|
||||
# Reformatted for readability
|
||||
BEGINDATA
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<x0:propertyupdate xmlns:x0="DAV:">
|
||||
<x0:set>
|
||||
<x0:prop>
|
||||
<x0:displayname>iCal Calendar</x0:displayname>
|
||||
</x0:prop>
|
||||
</x0:set>
|
||||
</x0:propertyupdate>
|
||||
ENDDATA
|
||||
|
||||
|
||||
QUERY
|
||||
SELECT dav_displayname, is_calendar
|
||||
FROM collection
|
||||
WHERE dav_name = '/user1/6E20BB7C-EFD9-4F0F-9BDC-5335E04D47E0/';
|
||||
ENDQUERY
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user