You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@files_sharing-app-required @skipOnOcV10.8 @skipOnOcV10.9 @skipOnOcV10.10
Scenario: share receiver of a share with insufficient quota should not be able to copy from home folder to the received shared file # /var/www/owncloud/testrunner/tests/acceptance/features/apiMain/quota.feature:358
Given the administrator has set the default folder for received shares to "Shares" # OccContext::theAdministratorHasSetTheDefaultFolderForReceivedSharesTo()
And auto-accept shares has been disabled # FeatureContext::autoAcceptSharesHasBeenDisabled()
And user "Brian" has been created with default attributes and without skeleton files # FeatureContext::userHasBeenCreatedWithDefaultAttributesAndWithoutSkeletonFiles()
And the quota of user "Brian" has been set to "10 MB" # FeatureContext::theQuotaOfUserHasBeenSetTo()
And the quota of user "Alice" has been set to "10 B" # FeatureContext::theQuotaOfUserHasBeenSetTo()
And user "Alice" has uploaded file with content "short" to "/testquota.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Brian" has uploaded file with content "longer line of text" to "/testquota.txt" # FeatureContext::userHasUploadedAFileWithContentTo()
And user "Alice" has shared file "/testquota.txt" with user "Brian" # FeatureContext::userHasSharedFileWithUserUsingTheSharingApi()
And user "Brian" has accepted share "/testquota.txt" offered by user "Alice" # FeatureContext::userHasReactedToShareOfferedBy()
When user "Brian" copies file "/testquota.txt" to "/Shares/testquota.txt" using the WebDAV API # FeatureContext::userCopiesFileUsingTheAPI()
Then the HTTP status code should be "507" # FeatureContext::thenTheHTTPStatusCodeShouldBe()
And the DAV exception should be "Sabre\DAV\Exception\InsufficientStorage" # FeatureContext::theDavElementShouldBe()
And as "Brian" file "/Shares/testquota.txt" should exist # FeatureContext::asFileOrFolderShouldExist()
And as "Alice" file "/testquota.txt" should exist # FeatureContext::asFileOrFolderShouldExist()
And the content of file "/testquota.txt" for user "Alice" should be "short" # FeatureContext::contentOfFileForUserShouldBe()
The downloaded content was expected to be 'short', but actually is '<?xml'. HTTP status was 500
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-'short'
+'<?xml'
Recently the quota handling issue has been fixed owncloud/core#40140. Needs investigation
The text was updated successfully, but these errors were encountered:
The findings of an investigation on this issue are reported here #357. @SagarGi For now we can skip this scenario for the encryption app as suggested in #354 (comment). So closing this issue, we can follow up on the reported issue.
Build: https://drone.owncloud.com/owncloud/encryption/2564/31/19
Scenario: apiMain/quota.feature:358
Recently the quota handling issue has been fixed owncloud/core#40140. Needs investigation
The text was updated successfully, but these errors were encountered: