summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2016-04-22 07:44:01 +0000
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-06-09 13:50:28 +0200
commitdbaeedc2341c0f761c53530664ecf1b9c6ffb633 (patch)
treec371f2d2df630ea5c4fb96aa443d843888cebdef /build
parent91082578ab89ec059f477f9f0dd5c44cdeaf913c (diff)
downloadnextcloud-server-dbaeedc2341c0f761c53530664ecf1b9c6ffb633.tar.gz
nextcloud-server-dbaeedc2341c0f761c53530664ecf1b9c6ffb633.zip
add overwriting using chunking but failing
Diffstat (limited to 'build')
-rw-r--r--build/integration/federation_features/federated.feature19
1 files changed, 19 insertions, 0 deletions
diff --git a/build/integration/federation_features/federated.feature b/build/integration/federation_features/federated.feature
index 7dcf97e5764..a2922d1c2f2 100644
--- a/build/integration/federation_features/federated.feature
+++ b/build/integration/federation_features/federated.feature
@@ -150,6 +150,25 @@ Feature: federated
And Downloading file "/PARENT (2)/textfile0.txt" with range "bytes=0-8"
Then Downloaded content should be "BLABLABLA"
+ Scenario: Overwrite a federated shared file as recipient using chunking
+ Given Using server "REMOTE"
+ And user "user1" exists
+ And user "user2" exists
+ And Using server "LOCAL"
+ And user "user0" exists
+ And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE"
+ And User "user1" from server "REMOTE" accepts last pending share
+ And Using server "REMOTE"
+ And As an "user1"
+ And using dav path "remote.php/dav"
+ And user "user1" creates a new chunking upload with id "chunking-43"
+ And user "user1" uploads new chunk file "3" with "CCCCC" to id "chunking-43"
+ And user "user1" uploads new chunk file "2" with "BBBBB" to id "chunking-43"
+ And user "user1" uploads new chunk file "1" with "AAAAA" to id "chunking-43"
+ And user "user1" moves new chunk file with id "chunking-43" to "/textfile0 (2).txt"
+ And using dav path "remote.php/webdav"
+ And Downloading file "/textfile0 (2).txt" with range "bytes=0-4"
+ Then Downloaded content should be "AAAAA"