diff options
author | Vincent Petry <pvince81@owncloud.com> | 2017-03-27 19:50:02 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2017-04-26 16:26:15 +0300 |
commit | c30feafaa2f2fb86469f5c38a6e20ed3f3042873 (patch) | |
tree | 535f670ef4ee98182d7382ba0a316f5477b837e1 | |
parent | 9ab17c95c0746cced8a4f36bec58dc98ee229ef3 (diff) |
Added case when final chunk move must not change file id
-rw-r--r-- | build/integration/features/webdav-related.feature | 13 |
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" + |