Skip to content

Commit

Permalink
adapt test
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Richter <crichter@owncloud.com>
  • Loading branch information
dragonchaser committed Jul 5, 2024
1 parent 049868a commit a1c8c47
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,22 +203,22 @@ Feature: create files and folder
Then the HTTP status code should be "<http-status-code>"
Examples:
| dav-path-version | file-name | http-status-code |
| old | /. | 500 |
| old | /. | 400 |
| old | /.. | 404 |
| old | /../lorem | 404 |
| old | | 500 |
| new | /. | 500 |
| old | | 400 |
| new | /. | 400 |
| new | /.. | 405 |
| new | /../lorem | 404 |
| new | | 500 |
| new | /../lorem | 400 |
| new | | 400 |

@skipOnRevaMaster
Examples:
| dav-path-version | file-name | http-status-code |
| spaces | /. | 500 |
| spaces | /. | 400 |
| spaces | /.. | 405 |
| spaces | /../lorem | 404 |
| spaces | | 500 |
| spaces | /../lorem | 400 |
| spaces | | 400 |


Scenario Outline: try to create folder with '.', '..' and 'empty'
Expand All @@ -227,14 +227,14 @@ Feature: create files and folder
Then the HTTP status code should be "<http-status-code>"
Examples:
| dav-path-version | folder-name | http-status-code |
| old | /. | 405 |
| old | /. | 400 |
| old | /.. | 404 |
| old | /../lorem | 404 |
| old | | 405 |
| new | /. | 405 |
| old | | 400 |
| new | /. | 400 |
| new | /.. | 405 |
| new | /../lorem | 409 |
| new | | 405 |
| new | /../lorem | 400 |
| new | | 400 |

@skipOnRevaMaster
Examples:
Expand Down

0 comments on commit a1c8c47

Please sign in to comment.