Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-12-01 18:49:40 +0300
committerMorris Jobke <hey@morrisjobke.de>2016-02-23 16:50:24 +0300
commit45e247594af2717d75919f544d20bffff74f4e5a (patch)
treec41fa1a8511c229c2cdf3fb7a9ec22d7278c82f8 /build
parentfae6643e6dd4bc308170e0ab45886f110f60a639 (diff)
Add a test that reproduces #20686
* user with a quota of 0 gets a file shared and can't update this file because the wrong quota is used to verify if the update is allowed
Diffstat (limited to 'build')
-rw-r--r--build/integration/features/sharing-v1.feature11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/integration/features/sharing-v1.feature b/build/integration/features/sharing-v1.feature
index 1a1a5c1981a..e16de8b6b11 100644
--- a/build/integration/features/sharing-v1.feature
+++ b/build/integration/features/sharing-v1.feature
@@ -495,3 +495,14 @@ Feature: sharing
And user "user2" does not exist
And user "user1" should see following elements
| /myFOLDER/myTMP/ |
+
+ Scenario: Check quota of owners parent directory of a shared file
+ 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 "0"
+ And User "user0" moved file "/welcome.txt" to "/myfile.txt"
+ And file "myfile.txt" of user "user0" is shared with user "user1"
+ When User "user1" uploads file "data/textfile.txt" to "/myfile.txt"
+ Then the HTTP status code should be "204"