Skip to content

Commit 5c23841

Browse files
committed
Resharing behaviour has been adjusted for 16
See nextcloud/server#14605 for more information Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent c5f4b86 commit 5c23841

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

tests/integration/features/sharing/get.feature

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ Feature: get
672672
And user "participant3" shares "subfolder" with room "one-to-one room not invited to" with OCS 100
673673
# Only direct children are taken into account
674674
When user "participant1" gets all shares for "/test" and its subfiles
675-
Then the list of returned shares has 3 shares
675+
Then the list of returned shares has 5 shares
676676
And share 0 is returned with
677677
| uid_owner | participant1 |
678678
| displayname_owner | participant1-displayname |
@@ -694,6 +694,20 @@ Feature: get
694694
| share_with | group room invited to |
695695
| share_with_displayname | Group room invited to |
696696
And share 2 is returned with
697+
| uid_file_owner | participant1 |
698+
| displayname_file_owner | participant1-displayname |
699+
| uid_owner | participant2 |
700+
| displayname_owner | participant2-displayname |
701+
| path | /test/subfolder |
702+
| item_type | folder |
703+
| mimetype | httpd/unix-directory |
704+
| storage_id | home::participant1 |
705+
| file_target | /subfolder |
706+
| share_with | participant3 |
707+
| share_with_displayname | participant3-displayname |
708+
| share_type | 0 |
709+
| permissions | 31 |
710+
And share 3 is returned with
697711
| uid_owner | participant1 |
698712
| displayname_owner | participant1-displayname |
699713
| path | /test/subfolder |
@@ -704,6 +718,20 @@ Feature: get
704718
| share_with | group room invited to |
705719
| share_with_displayname | Group room invited to |
706720
| permissions | 31 |
721+
And share 4 is returned with
722+
| uid_file_owner | participant1 |
723+
| displayname_file_owner | participant1-displayname |
724+
| uid_owner | participant3 |
725+
| displayname_owner | participant3-displayname |
726+
| path | /test/subfolder |
727+
| path | /test/subfolder |
728+
| item_type | folder |
729+
| mimetype | httpd/unix-directory |
730+
| storage_id | home::participant1 |
731+
| file_target | /subfolder |
732+
| share_with | one-to-one room not invited to |
733+
| share_with_displayname | Private conversation |
734+
| permissions | 31 |
707735

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

0 commit comments

Comments
 (0)