diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2016-08-02 10:58:27 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2016-08-03 09:17:57 +0200 |
commit | e2c4f4f9aa11bc92e8f2212cce73841b922187e8 (patch) | |
tree | 9688f6f7a51383fdb103283c9f1ad8f51ed2d4d7 /build | |
parent | 7289cb5ec0b812992ab0dfb889744b94bc0994f0 (diff) | |
download | nextcloud-server-e2c4f4f9aa11bc92e8f2212cce73841b922187e8.tar.gz nextcloud-server-e2c4f4f9aa11bc92e8f2212cce73841b922187e8.zip |
Add intergration test
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/sharing-v1.feature | 16 |
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" |