]> source.dussan.org Git - nextcloud-server.git/commitdiff
Added integration test
authorSergio Bertolin <sbertolin@solidgear.es>
Tue, 26 Jul 2016 15:59:02 +0000 (15:59 +0000)
committerRobin Appelman <robin@icewind.nl>
Mon, 29 Aug 2016 12:13:26 +0000 (14:13 +0200)
build/integration/features/webdav-related.feature

index c49db4f8a5d26f4372bebda49aae93240521e189..a59d65a2674f7935ecbdb9616a784fcfcab543b2 100644 (file)
@@ -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"