mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
This allows us to have more complex test files where an action is taken, then we test something, then another action is taken, etc. Changes to test files are required so that URL is defined after all the required settings are set. Changes to the result files are either whitespace changes due to above logic changes, or printing out a SQL Result header before each result. I figured it was useful.
28 lines
924 B
Plaintext
28 lines
924 B
Plaintext
1..9
|
|
# Subtest: Login
|
|
1..4
|
|
ok 1 - Fetch first page
|
|
ok 2 - Not logged in
|
|
ok 3 - Login to site
|
|
ok 4 - Logged in
|
|
ok 1 - Login
|
|
ok 2 - Correct users edit page
|
|
ok 3 - Create bind into another users namespace - should fail
|
|
ok 4 - Error present
|
|
ok 5 - Submit updated fields
|
|
ok 6 - Correct status message is present
|
|
ok 7 - Binding is present
|
|
ok 8 - Submit updated fields
|
|
ok 9 - Correct error message is present
|
|
SQL Query 1 Result:
|
|
count: >0<
|
|
|
|
SQL Query 2 Result:
|
|
bind_id: >1192<
|
|
bound_source_id: >1057<
|
|
dav_displayname: >Moon Phases - user3<
|
|
dav_name: >/user3/moon/<
|
|
external_url: >http://regression/testfiles/mooncal.ics?lang=de&phases%5Bfull%5D=true&phases%5Bnew%5D=true&phases%5Bquarter%5D=true&phases%5Bdaily%5D=false&events%5Blunareclipse%5D=true&events%5Bsolareclipse%5D=true&events%5Bmoonlanding%5D=false&before=P6M&after=P2Y&zone=CET<
|
|
parent_container: >/user3/<
|
|
|