diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-12-01 13:36:55 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-12-01 14:51:32 +0100 |
commit | 83432b3c257101dcd90b1309adfcc69e863ebc5c (patch) | |
tree | 792f539d98c14cb0c7672af1fc0cb2404d6f1f05 /build/integration/features/webdav-related.feature | |
parent | d5fe052838064909232565265787ba2d9bbf39cf (diff) | |
download | nextcloud-server-83432b3c257101dcd90b1309adfcc69e863ebc5c.tar.gz nextcloud-server-83432b3c257101dcd90b1309adfcc69e863ebc5c.zip |
add behat tests for 0 quota upload failure
Diffstat (limited to 'build/integration/features/webdav-related.feature')
-rw-r--r-- | build/integration/features/webdav-related.feature | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature index 16955e27063..56c4d07f0eb 100644 --- a/build/integration/features/webdav-related.feature +++ b/build/integration/features/webdav-related.feature @@ -16,6 +16,13 @@ Feature: sharing Then Downloaded content should be "example file for developers" + Scenario: Upload forbidden if quota is 0 + Given using dav path "remote.php/webdav" + And As an "admin" + And user "user0" exists + And user "user0" has a quota of "0" + When User "user0" uploads file "data/textfile.txt" to "/asdf.txt" + Then the HTTP status code should be "507" |