Skip to content

Commit

Permalink
adjust tests, lots of them
Browse files Browse the repository at this point in the history
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
  • Loading branch information
butonic committed May 27, 2021
1 parent 6a2a6df commit 6910b04
Show file tree
Hide file tree
Showing 6 changed files with 743 additions and 14 deletions.
260 changes: 259 additions & 1 deletion tests/acceptance/expected-failures-on-OCIS-storage.md

Large diffs are not rendered by default.

188 changes: 182 additions & 6 deletions tests/acceptance/expected-failures-on-OWNCLOUD-storage.md

Large diffs are not rendered by default.

297 changes: 296 additions & 1 deletion tests/acceptance/expected-failures-on-S3NG-storage.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -116,14 +116,14 @@ Feature: sharing
Then the OCS status code should be "<ocs_status_code>"
And the HTTP status code should be "200"
And the response should contain 4 entries
And folder "/folder1" should be included as path in the response
And folder "/oc/Alice/folder1" should be included as path in the response
# And folder "/folder1/folder2" should be included as path in the response
And folder "/folder2" should be included as path in the response
And folder "/oc/Alice/folder1/folder2" should be included as path in the response
And user "Alice" sends HTTP method "GET" to OCS API endpoint "/apps/files_sharing/api/v1/shares?path=/folder1/folder2"
And the response should contain 2 entries
And folder "/folder1" should not be included as path in the response
And folder "/oc/Alice/folder1" should not be included as path in the response
# And folder "/folder1/folder2" should be included as path in the response
And folder "/folder2" should be included as path in the response
And folder "/oc/Alice/folder1/folder2" should be included as path in the response
Examples:
| ocs_api_version | ocs_status_code |
| 1 | 100 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Feature: sharing
When user "Alice" gets all the shares inside the folder "PARENT/parent.txt" using the sharing API
Then the OCS status code should be "<ocs_status_code>"
And the HTTP status code should be "200"
And file "parent.txt" should be included in the response
And file "/oc/Alice/PARENT/parent.txt" should be included in the response
Examples:
| ocs_api_version | ocs_status_code |
| 1 | 100 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Feature: sharing
| item_source | A_STRING |
| share_type | user |
| file_source | A_STRING |
| file_target | /Carol-folder |
| file_target | /oc/Carol/Carol-folder |
| permissions | all |
| stime | A_NUMBER |
| storage | A_STRING |
Expand Down

0 comments on commit 6910b04

Please sign in to comment.