Merge branch 'master' of github.com:DAViCal/davical into github
[davical.git] / testing / tests / regression-suite / 0928-MOVE.test
blobbb117d50f21e9901860700e87ac2a4847552ff41
2 # MOVE an event from one location to another
4 TYPE=MOVE
5 URL=http://regression.host/caldav.php/user1/anotherone/
6 HEADER=User-Agent: RFC4918 Spec Tests
7 HEADER=Destination: /caldav.php/user1/movedcalendar/
8 HEAD
10 QUERY
11 SELECT dav_name,
12        user_no,
13        (modified > (current_timestamp - '1 hour'::interval)) AS mod_in_last_hour,
14        dav_etag
15 FROM collection
16 WHERE collection.dav_name ~ '(anotherone|movedcalendar)';
17 ENDQUERY