summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-10-04 22:38:19 +0200
committerGitHub <noreply@github.com>2016-10-04 22:38:19 +0200
commit2d2a89631eb5b615bddb3d9a382d6713e42799d7 (patch)
tree9c874ac02a3ef34dbec9a7b75c9016524966f7b1
parent729f0958dc9affca5ed56f6203b78100399b6309 (diff)
parent169adc8f2a9c0f6929220ae7381338d81ec36736 (diff)
downloadnextcloud-server-2d2a89631eb5b615bddb3d9a382d6713e42799d7.tar.gz
nextcloud-server-2d2a89631eb5b615bddb3d9a382d6713e42799d7.zip
Merge pull request #26275 from owncloud/stable9-integration-tests-issue-26182
Added scenario sharing again an own file while belonging to a group t…
-rw-r--r--build/integration/features/sharing-v1.feature13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature
index 40eb73cb107..e5338ba1776 100644
--- a/build/integration/features/sharing-v1.feature
+++ b/build/integration/features/sharing-v1.feature
@@ -751,3 +751,16 @@ Feature: sharing
And the single response should contain a property "{http://owncloud.org/ns}permissions" with value "SRDNVCK"
And as "user1" the folder "merge-test-outside-groups-renamebeforesecondshare" does not exist
+ Scenario: sharing again an own file while belonging to a group
+ Given As an "admin"
+ Given user "user0" exists
+ And group "sharing-group" exists
+ And user "user0" belongs to group "sharing-group"
+ And file "welcome.txt" of user "user0" is shared with group "sharing-group"
+ And Deleting last share
+ When sending "POST" to "/apps/files_sharing/api/v1/shares" with
+ | path | welcome.txt |
+ | shareWith | sharing-group |
+ | shareType | 1 |
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"