]> source.dussan.org Git - nextcloud-server.git/commitdiff
Added scenario sharing again an own file while belonging to a group to stable9
authorSergio Bertolin <sbertolin@solidgear.es>
Thu, 22 Sep 2016 12:14:49 +0000 (12:14 +0000)
committerSergio Bertolin <sbertolin@solidgear.es>
Tue, 4 Oct 2016 15:24:18 +0000 (15:24 +0000)
build/integration/features/sharing-v1.feature

index 40eb73cb1070464999070c0195311a787c634963..e5338ba1776889721eed2cae30958fec0bc7dc2f 100644 (file)
@@ -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"