summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2016-04-15 13:12:34 +0000
committerSergio Bertolin <sbertolin@solidgear.es>2016-04-15 13:12:34 +0000
commit5b34dcc09900cd91679daf3fb14f32aaf7a102fb (patch)
tree4b4c8608cc018ed62f61e2500449c634902a1ee7 /build
parent7529605676bb8ad83898e2e7271454fd936587ae (diff)
downloadnextcloud-server-5b34dcc09900cd91679daf3fb14f32aaf7a102fb.tar.gz
nextcloud-server-5b34dcc09900cd91679daf3fb14f32aaf7a102fb.zip
Added test case for QA-94
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/sharing-v1.feature14
1 files changed, 14 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature
index cc591dd51d6..1e487eedf98 100644
--- a/build/integration/features/sharing-v1.feature
+++ b/build/integration/features/sharing-v1.feature
@@ -251,6 +251,20 @@ Feature: sharing
And User "user2" should be included in the response
And User "user3" should not be included in the response
+ Scenario: Reshared files can be still accessed if a user in the middle removes it.
+ Given user "user0" exists
+ And user "user1" exists
+ And user "user2" exists
+ And user "user3" exists
+ And file "textfile0.txt" of user "user0" is shared with user "user1"
+ And file "textfile0 (2).txt" of user "user1" is shared with user "user2"
+ And file "textfile0 (2).txt" of user "user2" is shared with user "user3"
+ And As an "user1"
+ When User "user1" deletes file "/textfile0 (2).txt"
+ And As an "user3"
+ And Downloading file "/textfile0 (2).txt" with range "bytes=1-7"
+ Then Downloaded content should be "wnCloud"
+
Scenario: getting share info of a share
Given user "user0" exists
And user "user1" exists