Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2017-03-27 19:50:02 +0300
committerJoas Schilling <coding@schilljs.com>2017-04-26 16:26:15 +0300
commitc30feafaa2f2fb86469f5c38a6e20ed3f3042873 (patch)
tree535f670ef4ee98182d7382ba0a316f5477b837e1 /build
parent9ab17c95c0746cced8a4f36bec58dc98ee229ef3 (diff)
Added case when final chunk move must not change file id
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/webdav-related.feature13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature
index 457d92d52a6..231f49f4398 100644
--- a/build/integration/features/webdav-related.feature
+++ b/build/integration/features/webdav-related.feature
@@ -529,3 +529,16 @@ Feature: webdav-related
And User "user0" stores id of file "/myChunkedFile.txt"
When User "user0" moves file "/myChunkedFile.txt" to "/FOLDER/myChunkedFile.txt"
Then User "user0" checks id of file "/FOLDER/myChunkedFile.txt"
+
+ Scenario: Checking file id after a move with overwrite using new endpoint
+ Given using new dav path
+ And user "user0" exists
+ And User "user0" copies file "/textfile0.txt" to "/existingFile.txt"
+ And User "user0" stores id of file "/existingFile.txt"
+ And user "user0" creates a new chunking upload with id "chunking-42"
+ And user "user0" uploads new chunk file "1" with "AAAAA" to id "chunking-42"
+ And user "user0" uploads new chunk file "2" with "BBBBB" to id "chunking-42"
+ And user "user0" uploads new chunk file "3" with "CCCCC" to id "chunking-42"
+ When user "user0" moves new chunk file with id "chunking-42" to "/existingFile.txt"
+ Then User "user0" checks id of file "/existingFile.txt"
+