@@ -20,7 +20,7 @@ Feature: State of the quota
2020
2121
2222 Scenario Outline : quota information is returned in the list of spaces returned via the Graph API
23- Given user "Alice" has created a space "<space-name>" of type "project" with quota "100 "
23+ Given user "Alice" has created a space "<space-name>" of type "project" with quota "<quota> "
2424 When user "Alice" uploads a file inside space "<space-name>" with content "<file-content>" to "test.txt" using the WebDAV API
2525 And user "Alice" lists all available spaces via the Graph API
2626 Then the JSON response should contain space called "<space-name>" and match
@@ -51,7 +51,7 @@ Feature: State of the quota
5151 },
5252 "total" : {
5353 "type": "number",
54- "enum": [100 ]
54+ "enum": [<quota> ]
5555 },
5656 "remaining" : {
5757 "type": "number",
@@ -67,14 +67,15 @@ Feature: State of the quota
6767 }
6868 """
6969 Examples :
70- | space -name | file -content | state | remaining | used |
71- | Quota1 % | 1 | normal | 99 | 1 |
72- | Quota75 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12345 | normal | 25 | 75 |
73- | Quota76 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456 | nearing | 24 | 76 |
74- | Quota90 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 1234567890 | nearing | 10 | 90 |
75- | Quota91 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 1 | critical | 9 | 91 |
76- | Quota99 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 | critical | 1 | 99 |
77- | Quota100 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 1234567890 | exceeded | 0 | 100 |
70+ | space -name | file -content | state | remaining | used | quota |
71+ | Quota1 % | 1 | normal | 99 | 1 | 100 |
72+ | Quota75 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 12345 | normal | 25 | 75 | 100 |
73+ | Quota76 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456 | nearing | 24 | 76 | 100 |
74+ | Quota90 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 1234567890 | nearing | 10 | 90 | 100 |
75+ | Quota91 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 1 | critical | 9 | 91 | 100 |
76+ | Quota99 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 | critical | 1 | 99 | 100 |
77+ | Quota100 % | 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 123456789 1234567890 | exceeded | 0 | 100 | 100 |
78+ | Quota1 | 0 | normal | 2499999999999 | 1 | 2500000000000 |
7879
7980
8081 Scenario : file cannot be uploaded if there is insufficient quota
0 commit comments