aboutsummaryrefslogtreecommitdiffstats
path: root/build/integration/sharing_features/sharing-v1-part3.feature
diff options
context:
space:
mode:
authorCôme Chilliet <91878298+come-nc@users.noreply.github.com>2022-12-05 12:03:39 +0100
committerGitHub <noreply@github.com>2022-12-05 12:03:39 +0100
commit30560d316584276a08c909f5198a839c1c170cc9 (patch)
tree154477dee76d6b7451671010aa2318c500975521 /build/integration/sharing_features/sharing-v1-part3.feature
parentcb0450b5c4fbe590e7b35284a40d78d96a0251f6 (diff)
parent4196bf81e653c39d33d25c76652cc78dab8c5e1c (diff)
downloadnextcloud-server-30560d316584276a08c909f5198a839c1c170cc9.tar.gz
nextcloud-server-30560d316584276a08c909f5198a839c1c170cc9.zip
Merge branch 'master' into tests/fix-phpunit-warnings
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Diffstat (limited to 'build/integration/sharing_features/sharing-v1-part3.feature')
-rw-r--r--build/integration/sharing_features/sharing-v1-part3.feature14
1 files changed, 14 insertions, 0 deletions
diff --git a/build/integration/sharing_features/sharing-v1-part3.feature b/build/integration/sharing_features/sharing-v1-part3.feature
index 621aa95b364..1331d5b2ba6 100644
--- a/build/integration/sharing_features/sharing-v1-part3.feature
+++ b/build/integration/sharing_features/sharing-v1-part3.feature
@@ -514,6 +514,20 @@ Feature: sharing
Then as "user1" the file "/shared/shared_file.txt" exists
And as "user0" the file "/shared/shared_file.txt" exists
+ Scenario: receiving shares into a configured share_folder
+ Given As an "admin"
+ And invoking occ with "config:system:set share_folder --value received_shares"
+ And user "user0" exists
+ And user "user1" exists
+ And user "user0" created a folder "/shared_folder"
+ And User "user0" moved file "/textfile0.txt" to "/shared_file.txt"
+ When folder "/shared_folder" of user "user0" is shared with user "user1"
+ And user "user1" accepts last share
+ Then as "user1" the file "/received_shares/shared_folder" exists
+ When file "/shared_file.txt" of user "user0" is shared with user "user1"
+ And user "user1" accepts last share
+ Then as "user1" the file "/received_shares/shared_file.txt" exists
+
Scenario: Owner of subshares is adjusted after moving into received share
Given As an "admin"
And user "user0" exists