mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-22 02:04:19 +00:00
MOVE tests without a time dependency in the results.
This commit is contained in:
parent
0e6be2613e
commit
ec0acdfde3
@ -12,5 +12,5 @@ Content-Type: text/plain; charset="utf-8"
|
||||
ci_user_no: >10<
|
||||
data_name: >/user1/entire/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<
|
||||
item_name: >/user1/entire/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<
|
||||
modified: >2009-11-08 20:28:50.893924+13<
|
||||
mod_in_last_hour: >1<
|
||||
|
||||
|
||||
@ -8,7 +8,8 @@ HEADER=Destination: http://regression.host/caldav.php/user1/entire/DAYPARTY-77C6
|
||||
HEAD
|
||||
|
||||
QUERY
|
||||
SELECT caldav_data.dav_name AS data_name, calendar_item.dav_name AS item_name, modified,
|
||||
SELECT caldav_data.dav_name AS data_name, calendar_item.dav_name AS item_name,
|
||||
(modified > (current_timestamp - '1 hour'::interval)) AS mod_in_last_hour,
|
||||
caldav_data.user_no AS cd_user_no,
|
||||
calendar_item.user_no AS ci_user_no,
|
||||
caldav_data.collection_id AS cd_collection,
|
||||
|
||||
@ -12,5 +12,5 @@ Content-Type: text/plain; charset="utf-8"
|
||||
ci_user_no: >10<
|
||||
data_name: >/user1/home/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<
|
||||
item_name: >/user1/home/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<
|
||||
modified: >2009-11-08 20:28:50.893924+13<
|
||||
mod_in_last_hour: >1<
|
||||
|
||||
|
||||
@ -8,7 +8,8 @@ HEADER=Destination: /caldav.php/user1/home/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.
|
||||
HEAD
|
||||
|
||||
QUERY
|
||||
SELECT caldav_data.dav_name AS data_name, calendar_item.dav_name AS item_name, modified,
|
||||
SELECT caldav_data.dav_name AS data_name, calendar_item.dav_name AS item_name,
|
||||
(modified > (current_timestamp - '1 hour'::interval)) AS mod_in_last_hour,
|
||||
caldav_data.user_no AS cd_user_no,
|
||||
calendar_item.user_no AS ci_user_no,
|
||||
caldav_data.collection_id AS cd_collection,
|
||||
|
||||
@ -12,5 +12,5 @@ Content-Type: text/plain; charset="utf-8"
|
||||
ci_user_no: >100<
|
||||
data_name: >/resource1/home/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<
|
||||
item_name: >/resource1/home/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<
|
||||
modified: >2009-11-08 20:28:50.893924+13<
|
||||
mod_in_last_hour: >1<
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ HEAD
|
||||
QUERY
|
||||
SELECT caldav_data.dav_name AS data_name,
|
||||
calendar_item.dav_name AS item_name,
|
||||
modified,
|
||||
(modified > (current_timestamp - '1 hour'::interval)) AS mod_in_last_hour,
|
||||
caldav_data.user_no AS cd_user_no,
|
||||
calendar_item.user_no AS ci_user_no,
|
||||
caldav_data.collection_id AS cd_collection,
|
||||
|
||||
@ -12,5 +12,5 @@ Content-Type: text/plain; charset="utf-8"
|
||||
ci_user_no: >10<
|
||||
data_name: >/user1/home/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<
|
||||
item_name: >/user1/home/DAYPARTY-77C6-4FB7-BDD3-6882E2F1BE74.ics<
|
||||
modified: >2009-11-08 20:28:50.893924+13<
|
||||
mod_in_last_hour: >1<
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ HEAD
|
||||
QUERY
|
||||
SELECT caldav_data.dav_name AS data_name,
|
||||
calendar_item.dav_name AS item_name,
|
||||
modified,
|
||||
(modified > (current_timestamp - '1 hour'::interval)) AS mod_in_last_hour,
|
||||
caldav_data.user_no AS cd_user_no,
|
||||
calendar_item.user_no AS ci_user_no,
|
||||
caldav_data.collection_id AS cd_collection,
|
||||
|
||||
@ -8,6 +8,6 @@ Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
dav_etag: >3cd2d347bfe806857ef14bce9eafd599<
|
||||
dav_name: >/user1/movedcalendar/<
|
||||
modified: >2009-11-08 20:29:06.230085+13<
|
||||
mod_in_last_hour: >1<
|
||||
user_no: >10<
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ HEAD
|
||||
QUERY
|
||||
SELECT dav_name,
|
||||
user_no,
|
||||
modified,
|
||||
(modified > (current_timestamp - '1 hour'::interval)) AS mod_in_last_hour,
|
||||
dav_etag
|
||||
FROM collection
|
||||
WHERE collection.dav_name ~ '(entire|movedcalendar)';
|
||||
|
||||
@ -8,6 +8,6 @@ Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
dav_etag: >3cd2d347bfe806857ef14bce9eafd599<
|
||||
dav_name: >/user1/entire/<
|
||||
modified: >2009-11-08 20:29:06.230085+13<
|
||||
mod_in_last_hour: >1<
|
||||
user_no: >10<
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ HEAD
|
||||
QUERY
|
||||
SELECT dav_name,
|
||||
user_no,
|
||||
modified,
|
||||
(modified > (current_timestamp - '1 hour'::interval)) AS mod_in_last_hour,
|
||||
dav_etag
|
||||
FROM collection
|
||||
WHERE collection.dav_name ~ '(entire|movedcalendar)';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user