summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-02-05 10:54:32 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-02-05 10:54:32 +0100
commitb50edf322265083ff041c264e395623c7e71de24 (patch)
tree6edd5b4691e0fd64111450248f4be6cf0fd61ea8 /build
parent5f521067d8bbffc37b9700702dcd6abaed89d653 (diff)
downloadnextcloud-server-b50edf322265083ff041c264e395623c7e71de24.tar.gz
nextcloud-server-b50edf322265083ff041c264e395623c7e71de24.zip
Add intergration test
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/sharing-v1.feature25
1 files changed, 15 insertions, 10 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature
index bdc1a4224d8..1a1a5c1981a 100644
--- a/build/integration/features/sharing-v1.feature
+++ b/build/integration/features/sharing-v1.feature
@@ -480,13 +480,18 @@ Feature: sharing
Then the OCS status code should be "100"
And the HTTP status code should be "200"
-
-
-
-
-
-
-
-
-
-
+ Scenario: Keep usergroup shares (#22143)
+ Given As an "admin"
+ And user "user0" exists
+ And user "user1" exists
+ And user "user2" exists
+ And group "group" exists
+ And user "user1" belongs to group "group"
+ And user "user2" belongs to group "group"
+ And user "user0" created a folder "/TMP"
+ And file "TMP" of user "user0" is shared with group "group"
+ And user "user1" created a folder "/myFOLDER"
+ And User "user1" moves file "/TMP" to "/myFOLDER/myTMP"
+ And user "user2" does not exist
+ And user "user1" should see following elements
+ | /myFOLDER/myTMP/ |