summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2015-11-26 13:19:49 +0000
committerSergio Bertolin <sbertolin@solidgear.es>2015-11-26 13:19:49 +0000
commit094a1bc7cbb6dda3efb55cacf188bd679c9d1e11 (patch)
tree1d282aef117895848a7ead2a090d1901673443d3 /build
parent3882cc8ef37a28972a8fca35ca1cc26cc060e7bc (diff)
downloadnextcloud-server-094a1bc7cbb6dda3efb55cacf188bd679c9d1e11.tar.gz
nextcloud-server-094a1bc7cbb6dda3efb55cacf188bd679c9d1e11.zip
Added test case about a user without a share requesting it
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/sharing-v1.feature10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature
index 063a40b1d3c..32bb943d2d7 100644
--- a/build/integration/features/sharing-v1.feature
+++ b/build/integration/features/sharing-v1.feature
@@ -353,6 +353,16 @@ Feature: sharing
Then the OCS status code should be "404"
And the HTTP status code should be "200"
+ Scenario: Get a share with a user which didn't received the share
+ Given user "user0" exists
+ And user "user1" exists
+ And user "user2" exists
+ And file "textfile0.txt" from user "user0" is shared with user "user1"
+ And As an "user2"
+ When Getting info of last share
+ Then the OCS status code should be "404"
+ And the HTTP status code should be "200"
+
Scenario: Delete all group shares
Given As an "admin"
And user "user0" exists