diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2019-10-07 10:18:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-07 10:18:07 +0300 |
commit | 31c616023df3e4ae0f51f767f9569378c70b52a5 (patch) | |
tree | a26e1dad6caac8fd3c79575b9351a9a23c67dd7e /tests | |
parent | 8cd054da6ed906081317f7972579546d77720e49 (diff) | |
parent | 9aee59cd1c25ee6c43a4d2a5ab30863720869fd1 (diff) |
Merge pull request #2275 from nextcloud/adjust-integration-test-to-changes-in-access-to-shares-in-server
Adjust integration test to changes in access to shares in server
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/features/sharing/hooks.feature | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/tests/integration/features/sharing/hooks.feature b/tests/integration/features/sharing/hooks.feature index cc8dc1c43..340ed4a74 100644 --- a/tests/integration/features/sharing/hooks.feature +++ b/tests/integration/features/sharing/hooks.feature @@ -1018,8 +1018,19 @@ Feature: hooks | share_with | group room invited to | | share_with_displayname | Group room invited to | And user "participant3" gets last share - And the OCS status code should be "404" - And the HTTP status code should be "200" + And share is returned with + | uid_owner | participant2 | + | displayname_owner | participant2 | + | uid_file_owner | participant1 | + | displayname_file_owner | participant1-displayname | + | path | /welcome (2).txt | + | item_type | file | + | mimetype | text/plain | + | storage_id | shared::/welcome (2).txt | + | file_target | /welcome (2).txt | + | share_with | participant4 | + | share_with_displayname | participant4-displayname | + | share_type | 0 | And user "participant3" gets all received shares And the list of returned shares has 1 shares And share 0 is returned with |