summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-02 10:58:27 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2016-08-02 11:12:52 +0200
commit1088870eb1df3586371290afe96c06e6f63d3b47 (patch)
tree11d4948b07cfb5d7e219ef40278f11a1e73e58fa /build
parent4e5fb74773ef83ef1256f68be9a6a054b10a9cc2 (diff)
downloadnextcloud-server-1088870eb1df3586371290afe96c06e6f63d3b47.tar.gz
nextcloud-server-1088870eb1df3586371290afe96c06e6f63d3b47.zip
Add intergration test
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/sharing-v1.feature16
1 files changed, 16 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature
index 16d04e81330..94d12ce3e72 100644
--- a/build/integration/features/sharing-v1.feature
+++ b/build/integration/features/sharing-v1.feature
@@ -759,3 +759,19 @@ Feature: sharing
| shareType | 0 |
Then the OCS status code should be "997"
And the HTTP status code should be "401"
+
+ Scenario: Deleting a group share as user
+ Given As an "admin"
+ And user "user0" exists
+ And user "user1" exists
+ And group "group1" exists
+ And user "user1" belongs to group "group1"
+ And As an "user0"
+ And creating a share with
+ | path | welcome.txt |
+ | shareType | 1 |
+ | shareWith | group1 |
+ When As an "user1"
+ And Deleting last share
+ Then the OCS status code should be "404"
+ And the HTTP status code should be "200"