adjust MOVE tests to check 403 code

This commit is contained in:
Saw-jan
2024-01-02 18:11:46 +05:45
parent e7a46dca55
commit 23111c8bba
6 changed files with 22 additions and 33 deletions
@@ -35,7 +35,7 @@ Feature: sharing
And user "Alice" has shared folder "/share1" with user "Brian"
And user "Alice" has shared folder "/share2" with user "Brian"
When user "Brian" moves file "/Shares/share1/textfile0.txt" to "/Shares/share2/textfile0.txt" using the WebDAV API
Then the HTTP status code should be "502"
Then the HTTP status code should be "403"
And as "Brian" file "/Shares/share1/textfile0.txt" should exist
And as "Alice" file "share1/textfile0.txt" should exist
But as "Brian" file "/Shares/share2/textfile0.txt" should not exist