Skip to content

Commit

Permalink
fix(tests): default archive format is now zip
Browse files Browse the repository at this point in the history
Signed-off-by: jkoberg <[email protected]>
  • Loading branch information
kobergj committed Jul 16, 2024
1 parent bce8f67 commit b5754eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/acceptance/features/apiArchiver/downloadById.feature
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Feature: download multiple resources bundled into an archive
| textfile0.txt | some data |
Examples:
| user-agent | archive-type |
| Linux | tar |
| Linux | zip |
| Windows NT | zip |


Expand All @@ -40,7 +40,7 @@ Feature: download multiple resources bundled into an archive
| my_data/an_other_file.txt | more data |
Examples:
| user-agent | archive-type |
| Linux | tar |
| Linux | zip |
| Windows NT | zip |


Expand All @@ -57,7 +57,7 @@ Feature: download multiple resources bundled into an archive
| my_data |
| more_data |
Then the HTTP status code should be "200"
And the downloaded tar archive should contain these files:
And the downloaded zip archive should contain these files:
| name | content |
| textfile0.txt | some data |
| textfile1.txt | other data |
Expand Down Expand Up @@ -110,7 +110,7 @@ Feature: download multiple resources bundled into an archive
| /Shares/my_data |
| /Shares/more_data |
Then the HTTP status code should be "200"
And the downloaded tar archive should contain these files:
And the downloaded zip archive should contain these files:
| name | content |
| textfile0.txt | some data |
| textfile1.txt | other data |
Expand Down
4 changes: 2 additions & 2 deletions tests/acceptance/features/apiDownloads/spaceDownload.feature
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Feature: Download space
Given user "Alice" has uploaded a file inside space "Project-space" with content "other data" to "file2.txt"
When user "Alice" downloads the space "Project-space" using the WebDAV API
Then the HTTP status code should be "200"
And the downloaded "tar" archive should contain these files:
And the downloaded "zip" archive should contain these files:
| name | content |
| file1.txt | some data |
| file2.txt | other data |
Expand All @@ -36,7 +36,7 @@ Feature: Download space
| permissionsRole | <space-role> |
When user "Brian" downloads the space "Project-space" using the WebDAV API
Then the HTTP status code should be "200"
And the downloaded "tar" archive should contain these files:
And the downloaded "zip" archive should contain these files:
| name | content |
| file1.txt | some data |
| .space/readme.md | space description |
Expand Down

0 comments on commit b5754eb

Please sign in to comment.