Skip to content

Commit a63e759

Browse files
committed
test: add test for copying folder with Transfer-Encoding: chunked header
Signed-off-by: Ashim-Stha <ashimshrestha2384@gmail.com>
1 parent 4bec7e2 commit a63e759

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/acceptance/features/apiContract/copy.feature

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,14 @@ Feature: Copy test
2525
| Access-Control-Allow-Origin | /^%base_url%$/ |
2626
| X-Request-Id | %request_id_pattern% |
2727

28+
@issue-10809
29+
Scenario: copy a folder with Transfer-Encoding: chunked header
30+
Given user "Alice" has created a folder "folder1" in space "new-space"
31+
And user "Alice" has created a folder "folder2" in space "new-space"
32+
When user "Alice" copies folder "folder2" from space "new-space" to "folder1/folder2" inside space "new-space" with following headers using the WebDAV API
33+
| header | value |
34+
# NOTE: requires system curl version >= 8.12.0
35+
| Transfer-Encoding | chunked |
36+
Then the HTTP status code should be "201"
37+
And for user "Alice" folder "folder1" of the space "new-space" should contain these entries:
38+
| folder2 |

0 commit comments

Comments
 (0)