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
30 changes: 29 additions & 1 deletion tests/integration/features/sharing/get.feature
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ Feature: get
And user "participant3" shares "subfolder" with room "one-to-one room not invited to" with OCS 100
# Only direct children are taken into account
When user "participant1" gets all shares for "/test" and its subfiles
Then the list of returned shares has 3 shares
Then the list of returned shares has 5 shares
And share 0 is returned with
| uid_owner | participant1 |
| displayname_owner | participant1-displayname |
Expand All @@ -694,6 +694,20 @@ Feature: get
| share_with | group room invited to |
| share_with_displayname | Group room invited to |
And share 2 is returned with
| uid_file_owner | participant1 |
| displayname_file_owner | participant1-displayname |
| uid_owner | participant2 |
| displayname_owner | participant2-displayname |
| path | /test/subfolder |
| item_type | folder |
| mimetype | httpd/unix-directory |
| storage_id | home::participant1 |
| file_target | /subfolder |
| share_with | participant3 |
| share_with_displayname | participant3-displayname |
| share_type | 0 |
| permissions | 31 |
And share 3 is returned with
| uid_owner | participant1 |
| displayname_owner | participant1-displayname |
| path | /test/subfolder |
Expand All @@ -704,6 +718,20 @@ Feature: get
| share_with | group room invited to |
| share_with_displayname | Group room invited to |
| permissions | 31 |
And share 4 is returned with
| uid_file_owner | participant1 |
| displayname_file_owner | participant1-displayname |
| uid_owner | participant3 |
| displayname_owner | participant3-displayname |
| path | /test/subfolder |
| path | /test/subfolder |
| item_type | folder |
| mimetype | httpd/unix-directory |
| storage_id | home::participant1 |
| file_target | /subfolder |
| share_with | one-to-one room not invited to |
| share_with_displayname | Private conversation |
| permissions | 31 |

Scenario: get all shares of a deleted folder
Given user "participant1" creates room "own group room"
Expand Down