From 51e88c9fff552d697381fe87c4105e12c005f6a6 Mon Sep 17 00:00:00 2001 From: Viktor Scharf Date: Wed, 30 Nov 2022 15:43:45 +0100 Subject: [PATCH] check urestricted quota --- .../features/apiSpaces/changeSpaces.feature | 21 ++++++++++++------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/tests/acceptance/features/apiSpaces/changeSpaces.feature b/tests/acceptance/features/apiSpaces/changeSpaces.feature index 629ce6160..54768b04b 100644 --- a/tests/acceptance/features/apiSpaces/changeSpaces.feature +++ b/tests/acceptance/features/apiSpaces/changeSpaces.feature @@ -72,9 +72,10 @@ Feature: Change data of space When user "Alice" uploads a file inside space "Project Jupiter" with content "some content" to "file.txt" using the WebDAV API Then the HTTP status code should be "201" And the user "Alice" should have a space called "Project Jupiter" with these key and value pairs: - | key | value | - | name | Project Jupiter | - | quota@@@used | 12 | + | key | value | + | name | Project Jupiter | + | quota@@@used | 12 | + | quota@@@total | 0 | Examples: | quotaValue | | 0 | @@ -217,9 +218,13 @@ Feature: Change data of space Then the HTTP status code should be "200" When user "Brian" uploads a file inside space "Brian Murphy" with content "file is more than 15 bytes" to "file.txt" using the WebDAV API Then the HTTP status code should be + Then the user "Brian" should have a space called "Brian Murphy" with these key and value pairs: + | key | value | + | quota@@@total | | + | quota@@@used | | Examples: - | quotaValue | code | - | 15 | "507" | - | 10000 | between "201" and "204" | - | 0 | between "201" and "204" | - | -1 | between "201" and "204" | + | quotaValue | code | total | used | + | 15 | "507" | 15 | 0 | + | 10000 | between "201" and "204" | 10000 | 26 | + | 0 | between "201" and "204" | 0 | 26 | + | -1 | between "201" and "204" | 0 | 26 | \ No newline at end of file