Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0924-MOVE.test
blobba619f6f816d4095b09882d4381c682085207d54
2 # MOVE an event from one location to another
4 TYPE=MOVE
5 URL=http://regression.host/caldav.php/user1/home/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics
6 HEADER=User-Agent: RFC4918 Spec Tests
7 HEADER=Destination: http://regression.host/caldav.php/user1/anotherone/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics
8 HEAD
10 QUERY
11 SELECT caldav_data.dav_name AS data_name, calendar_item.dav_name AS item_name,
12        caldav_data.user_no AS cd_user_no,
13        calendar_item.user_no AS ci_user_no,
14        caldav_data.collection_id AS cd_collection,
15        calendar_item.collection_id AS ci_collection
16 FROM caldav_data JOIN calendar_item USING(dav_id)
17 WHERE caldav_data.dav_name ~ 'DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics'
18  ORDER BY cd_collection
19 ENDQUERY