update api tests to reflect the latest changes on cs3org@reva tests
This commit is contained in:
+9
-9
@@ -101,17 +101,17 @@ Feature: sharing
|
|||||||
And user "Alice" has shared folder "/folder1/folder2" with user "Emily"
|
And user "Alice" has shared folder "/folder1/folder2" with user "Emily"
|
||||||
When user "Alice" sends HTTP method "GET" to OCS API endpoint "/apps/files_sharing/api/v1/shares"
|
When user "Alice" sends HTTP method "GET" to OCS API endpoint "/apps/files_sharing/api/v1/shares"
|
||||||
Then the OCS status code should be "<ocs_status_code>"
|
Then the OCS status code should be "<ocs_status_code>"
|
||||||
And the HTTP status code should be "<http_status_code>"
|
And the HTTP status code should be "200"
|
||||||
# On OCIS and reva the response is currently not there
|
And the response should contain 4 entries
|
||||||
# And the response should contain 4 entries
|
And folder "/folder1" should be included as path in the response
|
||||||
# And folder "/folder1" should be included as path in the response
|
# And folder "/folder1/folder2" 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 user "Alice" sends HTTP method "GET" to OCS API endpoint "/apps/files_sharing/api/v1/shares?path=/folder1/folder2"
|
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 the response should contain 2 entries
|
||||||
And folder "/folder1" should not be included as path in the response
|
And folder "/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 "/folder2" should be included as path in the response
|
||||||
# And folder "/folder1/folder2" should be included as path in the response
|
|
||||||
Examples:
|
Examples:
|
||||||
| ocs_api_version | http_status_code | ocs_status_code |
|
| ocs_api_version | ocs_status_code |
|
||||||
| 1 | 200 | 996 |
|
| 1 | 100 |
|
||||||
| 2 | 500 | 996 |
|
| 2 | 200 |
|
||||||
|
|||||||
Reference in New Issue
Block a user