mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-09-23 06:39:18 +00:00
Anchor tz.php expand tests so the results don't change each year
This commit is contained in:
parent
c88c730236
commit
cc80db89ad
@ -1,8 +1,8 @@
|
|||||||
#
|
#
|
||||||
# List timezone server timezones
|
# Expand 10 years of timezone changes
|
||||||
#
|
#
|
||||||
TYPE=GET
|
TYPE=GET
|
||||||
URL=http://regression.host/tz.php?action=expand&tzid=Pacific/Auckland
|
URL=http://regression.host/tz.php?action=expand&tzid=Pacific/Auckland&start=2012-01-01&end=2022-12-31
|
||||||
HEAD
|
HEAD
|
||||||
|
|
||||||
REPLACE=/dtstamp>[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z/dtstamp>all good/
|
REPLACE=/dtstamp>[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z/dtstamp>all good/
|
||||||
|
|||||||
@ -1,8 +1,11 @@
|
|||||||
#
|
#
|
||||||
# Fetch an expanded timezone from the server.
|
# Fetch an expanded timezone from the server.
|
||||||
#
|
#
|
||||||
|
# Test an end date that is a bit more than the default of 10 years from the
|
||||||
|
# current year.
|
||||||
|
#
|
||||||
TYPE=GET
|
TYPE=GET
|
||||||
URL=http://regression.host/tz.php?action=expand&tzid=America/Indiana/Indianapolis&start=2009-01-01
|
URL=http://regression.host/tz.php?action=expand&tzid=America/Indiana/Indianapolis&start=2009-01-01&end=2022-12-31
|
||||||
HEAD
|
HEAD
|
||||||
|
|
||||||
REPLACE=/dtstamp>[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z/dtstamp>all good/
|
REPLACE=/dtstamp>[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z/dtstamp>all good/
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
# Fetch an expanded timezone from the server.
|
# Fetch an expanded timezone from the server.
|
||||||
#
|
#
|
||||||
TYPE=GET
|
TYPE=GET
|
||||||
URL=http://regression.host/tz.php?action=expand&tzid=America/Indiana/Indianapolis&end=2013-07-01
|
URL=http://regression.host/tz.php?action=expand&tzid=America/Indiana/Indianapolis&start=2012-01-01&end=2013-07-01
|
||||||
HEAD
|
HEAD
|
||||||
|
|
||||||
REPLACE=/dtstamp>[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z/dtstamp>all good/
|
REPLACE=/dtstamp>[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z/dtstamp>all good/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user