Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Adjust integration test to changes in access to shares in server
Now a user with access to a file is able to get any of its shares.

Signed-off-by: Daniel Calviño Sánchez <[email protected]>
  • Loading branch information
danxuliu committed Oct 6, 2019
commit 9aee59cd1c25ee6c43a4d2a5ab30863720869fd1
15 changes: 13 additions & 2 deletions tests/integration/features/sharing/hooks.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down