diff --git a/tests/acceptance/features/apiVersions/fileVersions.feature b/tests/acceptance/features/apiVersions/fileVersions.feature index 9b1ee7b2d7a7..4cbce98318a3 100644 --- a/tests/acceptance/features/apiVersions/fileVersions.feature +++ b/tests/acceptance/features/apiVersions/fileVersions.feature @@ -142,7 +142,7 @@ Feature: dav-versions And user "Alice" has uploaded file with content "123" to "/davtest.txt" And we save it into "FILEID" When user "Brian" sends HTTP method "PROPFIND" to URL "/remote.php/dav/meta/<>" - Then the HTTP status code should be "404" + Then the HTTP status code should be "400" or "404" @files_sharing-app-required @notToImplementOnOCIS Scenario: User can access meta folder of a file which is owned by somebody else but shared with that user @@ -385,16 +385,16 @@ Feature: dav-versions And the number of versions should be "3" - Scenario: User cannot access meta folder of a file which does not exists + Scenario: User cannot access meta folder of a file which does not exist Given user "Brian" has been created with default attributes and without skeleton files When user "Brian" sends HTTP method "PROPFIND" to URL "/remote.php/dav/meta/MTI4NGQyMzgtYWE5Mi00MmNlLWJkYzQtMGIwMDAwMDA5MTU2OjhjY2QyNzUxLTkwYTQtNDBmMi1iOWYzLTYxZWRmODQ0MjFmNA==" - Then the HTTP status code should be "404" + Then the HTTP status code should be "400" or "404" Scenario Outline: User cannot access meta folder of a file with invalid fileid Given user "Brian" has been created with default attributes and without skeleton files When user "Brian" sends HTTP method "PROPFIND" to URL "/remote.php/dav/meta//v" - Then the HTTP status code should be "404" + Then the HTTP status code should be "400" or "404" Examples: | file-id | decoded-value | comment | | MTI4NGQyMzgtYWE5Mi00MmNlLWJkYzQtMGIwMDAwMDA5MTU3PThjY2QyNzUxLTkwYTQtNDBmMi1iOWYzLTYxZWRmODQ0MjFmNA== | 1284d238-aa92-42ce-bdc4-0b0000009157=8ccd2751-90a4-40f2-b9f3-61edf84421f4 | with = sign |