remove old dav path for public share

This commit is contained in:
Sabin committed 2024-11-19 14:54:02 +05:45
1 parent a3a5789dc6
commit b5d5afcd5c
21 files changed
+210 -898

No files matched your search

@@ -46,7 +46,7 @@ Feature: PROPFIND
| space | Personal |
| permissionsRole | view |
| password | %public% |
When the public sends "PROPFIND" request to the last public link share using the new public WebDAV API with password "%public%"
When the public sends "PROPFIND" request to the last public link share using the public WebDAV API with password "%public%"
Then the HTTP status code should be "207"
And the value of the item "//d:href" in the response should match "/\/dav\/public-files\/%public_token%\/$/"
And the value of the item "//oc:public-link-share-owner" in the response should be "Alice"
@@ -61,7 +61,7 @@ Feature: PROPFIND
| space | Personal |
| permissionsRole | view |
| password | %public% |
When the public sends "PROPFIND" request to the last public link share using the new public WebDAV API
When the public sends "PROPFIND" request to the last public link share using the public WebDAV API
Then the HTTP status code should be "401"
And the value of the item "/d:error/s:exception" in the response should be "Sabre\DAV\Exception\NotAuthenticated"
@@ -75,6 +75,6 @@ Feature: PROPFIND
| space | Personal |
| permissionsRole | view |
| password | %public% |
When the public sends "PROPFIND" request to the last public link share using the new public WebDAV API with password "1234"
When the public sends "PROPFIND" request to the last public link share using the public WebDAV API with password "1234"
Then the HTTP status code should be "401"
And the value of the item "/d:error/s:exception" in the response should be "Sabre\DAV\Exception\NotAuthenticated"