diff options
author | Sergio Bertolin <sbertolin@solidgear.es> | 2016-07-26 15:59:02 +0000 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2016-08-29 14:13:26 +0200 |
commit | c16b15d52e24eb8bcfabbf535c360d6580a6ee70 (patch) | |
tree | ab8daf3ea685bf04d00c4e86dda970b974e5ba60 /build | |
parent | 3647fbe7cd86e743b059889d69b03fcf8207780f (diff) | |
download | nextcloud-server-c16b15d52e24eb8bcfabbf535c360d6580a6ee70.tar.gz nextcloud-server-c16b15d52e24eb8bcfabbf535c360d6580a6ee70.zip |
Added integration test
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/webdav-related.feature | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature index c49db4f8a5d..a59d65a2674 100644 --- a/build/integration/features/webdav-related.feature +++ b/build/integration/features/webdav-related.feature @@ -59,6 +59,24 @@ Feature: webdav-related |{DAV:}quota-available-bytes| And the single response should contain a property "{DAV:}quota-available-bytes" with value "10485421" + Scenario: Uploading a file as recipient using webdav having quota + Given using dav path "remote.php/webdav" + And As an "admin" + And user "user0" exists + And user "user1" exists + And user "user0" has a quota of "10 MB" + And user "user1" has a quota of "10 MB" + And As an "user1" + And user "user1" created a folder "/testquota" + And as "user1" creating a share with + | path | testquota | + | shareType | 0 | + | permissions | 31 | + | shareWith | user0 | + And As an "user0" + When User "user0" uploads file "data/textfile.txt" to "/testquota/asdf.txt" + Then the HTTP status code should be "201" + Scenario: download a public shared file with range Given user "user0" exists And As an "user0" |