From c30feafaa2f2fb86469f5c38a6e20ed3f3042873 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Mon, 27 Mar 2017 18:50:02 +0200 Subject: [PATCH] Added case when final chunk move must not change file id --- build/integration/features/webdav-related.feature | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature index 457d92d52a..231f49f439 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" +