aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2016-08-02 10:58:27 +0200
committerJoas Schilling <coding@schilljs.com>2016-08-03 09:17:57 +0200
commite2c4f4f9aa11bc92e8f2212cce73841b922187e8 (patch)
tree9688f6f7a51383fdb103283c9f1ad8f51ed2d4d7 /build
parent7289cb5ec0b812992ab0dfb889744b94bc0994f0 (diff)
downloadnextcloud-server-e2c4f4f9aa11bc92e8f2212cce73841b922187e8.tar.gz
nextcloud-server-e2c4f4f9aa11bc92e8f2212cce73841b922187e8.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 75f98521e3a..cd5be9cfe52 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"