davical/testing/tests/webui/0007-delete-bind.result
Andrew Ruthven 7c47658bee Make the curl and SQL requests when we see them
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.
2024-04-01 22:57:10 +13:00

41 lines
1.3 KiB
Plaintext

1..20
# 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 - Create collection - 0
ok 3 - Collection created message displayed - 0
ok 4 - Create binding - 0
ok 5 - Binding created message displayed - 0
ok 6 - Binding with collection path displayed - 0
ok 7 - Create collection - 1
ok 8 - Collection created message displayed - 1
ok 9 - Create binding - 1
ok 10 - Binding created message displayed - 1
ok 11 - Binding with collection path displayed - 1
ok 12 - Create collection - 2
ok 13 - Collection created message displayed - 2
ok 14 - Create binding - 2
ok 15 - Binding created message displayed - 2
ok 16 - Binding with collection path displayed - 2
ok 17 - Binding deleted message displayed
# Subtest: Login as user1
1..4
ok 1 - Fetch first page
ok 2 - Not logged in
ok 3 - Login to site
ok 4 - Logged in
ok 18 - Login as user1
ok 19 - Binding deletion error displayed when specifying other principal and their bind
ok 20 - Binding deletion error display when specifying our principal and their collection
SQL Query 1 Result:
dav_displayname: >Binding 1<
dav_name: >/user2/test_binding_collection_1/<
dav_displayname: >Binding 2<
dav_name: >/user2/test_binding_collection_2/<