summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <DeepDiver1975@users.noreply.github.com>2016-08-09 14:27:43 +0200
committerGitHub <noreply@github.com>2016-08-09 14:27:43 +0200
commit2160d9f3ea6a41185deb798dc927e1b07ea47bc0 (patch)
tree4599323f73f26d6b91392aea26ea5812688625ea
parente7d2bf97a58d490e3e664907deec29f626ebd76a (diff)
downloadnextcloud-server-2160d9f3ea6a41185deb798dc927e1b07ea47bc0.tar.gz
nextcloud-server-2160d9f3ea6a41185deb798dc927e1b07ea47bc0.zip
[stable8.2] Added integration test (#25676)
-rw-r--r--build/integration/features/webdav-related.feature18
1 files changed, 18 insertions, 0 deletions
diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature
index a0d469f4805..25901e83bb5 100644
--- a/build/integration/features/webdav-related.feature
+++ b/build/integration/features/webdav-related.feature
@@ -151,6 +151,24 @@ Feature: webdav-related
|{DAV:}quota-available-bytes|
And the single response should contain a property "{DAV:}quota-available-bytes" with value "10485429"
+ 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"