Skip to content

Commit

Permalink
Merge pull request #36435 from owncloud/testPropfindOnNotExistingURL
Browse files Browse the repository at this point in the history
test a PROPFIND to a non-existing URL
  • Loading branch information
phil-davis authored Nov 18, 2019
2 parents f6f3cf1 + 9cbdcff commit 6a96f06
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,12 @@ Feature: get file properties
| dav_version |
| old |
| new |

Scenario Outline: Do a PROPFIND to a non-existing URL
And user "user0" requests "<url>" with "PROPFIND" using basic auth
Then the value of the item "/d:error/s:message" in the response should be "<message>"
And the value of the item "/d:error/s:exception" in the response should be "Sabre\DAV\Exception\NotFound"
Examples:
| url | message |
| /remote.php/dav/files/does-not-exist | Principal with name does-not-exist not found |
| /remote.php/dav/does-not-exist | File not found: does-not-exist in 'root' |

0 comments on commit 6a96f06

Please sign in to comment.