davical/testing/tests/webui/0006-delete-ticket.result
Andrew Ruthven f69480ce77 Test that deletion of a principal's items are secure
Test that other users can't delete:
 - collections
 - tickets
 - bindings

No significant change, just return an error message rather than assume that
things worked.
2024-03-10 00:37:11 +13:00

46 lines
1.5 KiB
Plaintext

1..23
# 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 - Found new ticket ID - 0
ok 5 - Create ticket - 0
ok 6 - Ticket created message displayed - 0
ok 7 - Ticket with collection path displayed - 0
ok 8 - Create collection - 1
ok 9 - Collection created message displayed - 1
ok 10 - Found new ticket ID - 1
ok 11 - Create ticket - 1
ok 12 - Ticket created message displayed - 1
ok 13 - Ticket with collection path displayed - 1
ok 14 - Create collection - 2
ok 15 - Collection created message displayed - 2
ok 16 - Found new ticket ID - 2
ok 17 - Create ticket - 2
ok 18 - Ticket created message displayed - 2
ok 19 - Ticket with collection path displayed - 2
ok 20 - Access ticket 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 21 - Login as user1
ok 22 - Collection deletion error displayed when specifying other principal and their ticket
ok 23 - Ticket deletion error display when specifying our principal and their collection
dav_displayname: >Test Ticket_Collection 1<
dav_name: >/user2/test_ticket_collection_1/<
privileges: >000000000000000000000101<
dav_displayname: >Test Ticket_Collection 2<
dav_name: >/user2/test_ticket_collection_2/<
privileges: >000000000000000000000101<