Simplified new endpoint move test

This commit is contained in:
Vincent Petry 2017-03-27 18:53:06 +02:00 committed by Joas Schilling
parent c30feafaa2
commit 9bff66e68d
No known key found for this signature in database
GPG Key ID: E166FD8976B3BAC8
1 changed files with 4 additions and 9 deletions

View File

@ -521,16 +521,11 @@ Feature: webdav-related
Scenario: Checking file id after a move using new endpoint
Given using new dav path
And user "user0" exists
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"
And user "user0" moves new chunk file with id "chunking-42" to "/myChunkedFile.txt"
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"
And User "user0" stores id of file "/textfile0.txt"
When User "user0" moves file "/textfile0.txt" to "/FOLDER/textfile0.txt"
Then User "user0" checks id of file "/FOLDER/textfile0.txt"
Scenario: Checking file id after a move with overwrite using new endpoint
Scenario: Checking file id after a move overwrite using new chunking endpoint
Given using new dav path
And user "user0" exists
And User "user0" copies file "/textfile0.txt" to "/existingFile.txt"