diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-04-16 23:28:28 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-04-16 23:28:28 +0200 |
commit | e2946f7b801071162c06b30a95d75c5eed98f85d (patch) | |
tree | 416aeb9cfdc505388a63687ff7b83a0e90920542 /build | |
parent | 95e62180ce63187f74d8e4d31ccdad11110f329c (diff) | |
parent | 5b34dcc09900cd91679daf3fb14f32aaf7a102fb (diff) | |
download | nextcloud-server-e2946f7b801071162c06b30a95d75c5eed98f85d.tar.gz nextcloud-server-e2946f7b801071162c06b30a95d75c5eed98f85d.zip |
Merge pull request #24030 from owncloud/integration-tests-improved-resharing
Added test case for QA-94
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/sharing-v1.feature | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature index e0bd18078b0..49c2dbf58c6 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 |