Skip to content

Commit

Permalink
add passing tests only
Browse files Browse the repository at this point in the history
  • Loading branch information
saw-jan committed Oct 3, 2023
1 parent b3a3c4b commit 2ad6d6a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 37 deletions.
5 changes: 0 additions & 5 deletions tests/acceptance/expected-failures-API-on-OCIS-storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,11 +595,6 @@ Not everything needs to be implemented for ocis. While the oc10 testsuite covers
- [coreApiFavorites/favorites.feature:150](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L150)
- [coreApiFavorites/favorites.feature:227](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiFavorites/favorites.feature#L227)

#### [Disable DEPTH:infinity in PROPFIND is only applicable to dav/spaces path](https://github.com/owncloud/ocis/issues/7359)

- [coreApiWebdavOperations/propfind.feature:40](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavOperations/propfind.feature#L40)
- [coreApiWebdavOperations/propfind.feature:41](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiWebdavOperations/propfind.feature#L41)

#### [OCS status code zero](https://github.com/owncloud/ocis/issues/3621)

- [coreApiShareManagementToShares/moveReceivedShare.feature:13](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/coreApiShareManagementToShares/moveReceivedShare.feature#L13)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,5 @@ The expected failures in this file are from features in the owncloud/ocis repo.

- [apiGraph/addUserToGroup.feature:420](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/addUserToGroup.feature#L420)

#### [Disable DEPTH:infinity in PROPFIND is only applicable to dav/spaces path](https://github.com/owncloud/ocis/issues/7359)

- [apiDepthInfinity/propfind.feature:117](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiDepthInfinity/propfind.feature#L117)
- [apiDepthInfinity/propfind.feature:137](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiDepthInfinity/propfind.feature#L137)
- [apiDepthInfinity/propfind.feature:138](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiDepthInfinity/propfind.feature#L138)

Note: always have an empty line at the end of this file.
The bash script that processes this file requires that the last line has a newline on the end.
24 changes: 0 additions & 24 deletions tests/acceptance/features/apiDepthInfinity/propfind.feature
Original file line number Diff line number Diff line change
Expand Up @@ -112,27 +112,3 @@ Feature: PROPFIND with depth:infinity
| dav-path-version |
| new |
| spaces |


Scenario: get the list of resources in a folder shared through public link with depth infinity when depth infinity is not allowed
Given the config "OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY" has been set to "false"
And using new DAV path
And user "Alice" has created a public link share of folder "simple-folder"
When the public lists the resources in the last created public link with depth "infinity" using the WebDAV API
Then the HTTP status code should be "400"


Scenario Outline: get the list of files in the trashbin with depth infinity when depth infinity is not allowed
Given the config "OCDAV_ALLOW_PROPFIND_DEPTH_INFINITY" has been set to "false"
And using <dav-path-version> DAV path
And user "Alice" has deleted the following resources
| path |
| textfile0.txt |
| welcome.txt |
| simple-folder/ |
When user "Alice" lists the resources in the trashbin with depth "infinity" using the WebDAV API
Then the HTTP status code should be "400"
Examples:
| dav-path-version |
| new |
| spaces |
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@ Feature: PROPFIND
| /remote.php/dav/spaces/%spaceid% | 0 | 207 |
| /remote.php/dav/spaces/%spaceid% | 1 | 207 |
| /remote.php/dav/spaces/%spaceid% | infinity | 400 |
| /remote.php/webdav | infinity | 400 |
| /remote.php/dav/files/alice | infinity | 400 |


Scenario: send PROPFIND request to a public link
Expand Down

0 comments on commit 2ad6d6a

Please sign in to comment.