From e011065a085db7b6195256f6d53bb01a652bcee1 Mon Sep 17 00:00:00 2001 From: Sergio Bertolin Date: Mon, 26 Sep 2016 12:10:24 +0000 Subject: Added quota calculation test when a file is recieved Signed-off-by: Lukas Reschke --- build/integration/features/webdav-related.feature | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'build/integration/features/webdav-related.feature') diff --git a/build/integration/features/webdav-related.feature b/build/integration/features/webdav-related.feature index 86ceafb1fc5..4a92c65d057 100644 --- a/build/integration/features/webdav-related.feature +++ b/build/integration/features/webdav-related.feature @@ -87,6 +87,18 @@ Feature: webdav-related |{DAV:}quota-available-bytes| Then the single response should contain a property "{DAV:}quota-available-bytes" with value "600" + Scenario: Retrieving folder quota when quota is set and a file was recieved + Given using dav path "remote.php/webdav" + And As an "admin" + And user "user0" exists + And user "user1" exists + And user "user1" has a quota of "1 KB" + And user "user0" adds a file of 93 bytes to "/user0.txt" + And file "user0.txt" of user "user0" is shared with user "user1" + When as "user1" gets properties of folder "/" with + |{DAV:}quota-available-bytes| + Then the single response should contain a property "{DAV:}quota-available-bytes" with value "693" + Scenario: download a public shared file with range Given user "user0" exists And As an "user0" -- cgit v1.2.3