summaryrefslogtreecommitdiffstats
path: root/build/integration/features
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2016-10-14 08:58:44 +0000
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-02 08:49:58 +0100
commit3135d3a7b2be8eb73704ee3b1d75a8c8a81209f0 (patch)
treee3e6968d55aab4dc408e8121c9cbbb0edcacd8b9 /build/integration/features
parent7d9e031abe5f9a864d38adfb114756ac1fcf4608 (diff)
downloadnextcloud-server-3135d3a7b2be8eb73704ee3b1d75a8c8a81209f0.tar.gz
nextcloud-server-3135d3a7b2be8eb73704ee3b1d75a8c8a81209f0.zip
Added test case about issue 26346
Diffstat (limited to 'build/integration/features')
-rw-r--r--build/integration/features/sharing-v1.feature15
1 files changed, 15 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature
index 9b19690d6d2..07a59fd72b6 100644
--- a/build/integration/features/sharing-v1.feature
+++ b/build/integration/features/sharing-v1.feature
@@ -952,3 +952,18 @@ Feature: sharing
| shareType | 1 |
Then the OCS status code should be "100"
And the HTTP status code should be "200"
+
+ Scenario: unshare from self
+ Given As an "admin"
+ And user "user0" exists
+ And user "user1" exists
+ And group "sharing-group" exists
+ And user "user0" belongs to group "sharing-group"
+ And user "user1" belongs to group "sharing-group"
+ And file "/PARENT/parent.txt" of user "user0" is shared with group "sharing-group"
+ And user "user0" stores etag of element "/PARENT"
+ And user "user1" stores etag of element "/"
+ And As an "user1"
+ When Deleting last share
+ Then etag of element "/" of user "user1" has changed
+ And etag of element "/PARENT" of user "user0" has not changed