mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
Add tests for .well-known/timezone redirect
This commit is contained in:
parent
cc80db89ad
commit
5984c6b251
@ -0,0 +1,6 @@
|
||||
HTTP/1.1 301 Moved Permanently
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Location: http://mycaldav/tz.php
|
||||
Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Do an OPTIONS request on a /.well-known URL for timezone
|
||||
TYPE=OPTIONS
|
||||
URL=http://regression.host/caldav.php/.well-known/timezone
|
||||
|
||||
HEADER=User-Agent: DataAccess/1.0 (8A293)
|
||||
|
||||
AUTH=user1:user1
|
||||
HEAD
|
||||
@ -0,0 +1,6 @@
|
||||
HTTP/1.1 301 Moved Permanently
|
||||
Date: Dow, 01 Jan 2000 00:00:00 GMT
|
||||
Location: http://mycaldav/tz.php
|
||||
Content-Length: 0
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Do an OPTIONS request on a /.well-known URL for timezone
|
||||
TYPE=OPTIONS
|
||||
URL=http://regression.host/caldav.php/.well-known/timezone
|
||||
|
||||
HEADER=User-Agent: DataAccess/1.0 (8A293)
|
||||
|
||||
NOAUTH
|
||||
HEAD
|
||||
0
testing/tests/timezone/Load-Sample-Data.result
Normal file
0
testing/tests/timezone/Load-Sample-Data.result
Normal file
5
testing/tests/timezone/sample-data.sql
Normal file
5
testing/tests/timezone/sample-data.sql
Normal file
@ -0,0 +1,5 @@
|
||||
-- Some sample data to prime the database...
|
||||
-- base-data.sql should be processed before this
|
||||
|
||||
INSERT INTO usr ( user_no, active, email_ok, updated, username, password, fullname, email )
|
||||
VALUES( 10, TRUE, current_date, current_date, 'user1', '**user1', 'User 1', 'user1@example.net' );
|
||||
Loading…
x
Reference in New Issue
Block a user