diff --git a/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md b/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md index 574bd01fdb1..ea9e022e366 100644 --- a/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md +++ b/tests/acceptance/expected-failures-localAPI-on-OCIS-storage.md @@ -160,27 +160,6 @@ The expected failures in this file are from features in the owncloud/ocis repo. - [apiGraph/removeUserFromGroup.feature:174](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/removeUserFromGroup.feature#L174) - [apiSpaces/createSpace.feature:18](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/createSpace.feature#L18) - [apiSpaces/createSpace.feature:19](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/createSpace.feature#L19) -- [apiSpaces/setQuota.feature:80](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L80) -- [apiSpaces/setQuota.feature:81](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L81) -- [apiSpaces/setQuota.feature:82](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L82) -- [apiSpaces/setQuota.feature:83](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L83) -- [apiSpaces/setQuota.feature:84](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L84) -- [apiSpaces/setQuota.feature:85](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L85) -- [apiSpaces/setQuota.feature:86](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L86) -- [apiSpaces/setQuota.feature:87](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L87) -- [apiSpaces/setQuota.feature:88](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L88) -- [apiSpaces/setQuota.feature:89](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L89) -- [apiSpaces/setQuota.feature:90](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L90) -- [apiSpaces/setQuota.feature:91](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L91) -- [apiSpaces/setQuota.feature:173](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L173) -- [apiSpaces/setQuota.feature:174](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L174) -- [apiSpaces/setQuota.feature:175](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L175) -- [apiSpaces/setQuota.feature:176](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L176) -- [apiSpaces/setQuota.feature:177](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L177) -- [apiSpaces/setQuota.feature:178](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L178) -- [apiSpaces/setQuota.feature:239](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L239) -- [apiSpaces/setQuota.feature:240](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L240) -- [apiSpaces/setQuota.feature:241](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiSpaces/setQuota.feature#L241) #### [API requests for a non-existent resources should return 404](https://github.com/owncloud/ocis/issues/5939) - [apiGraph/addUserToGroup.feature:162](https://github.com/owncloud/ocis/blob/master/tests/acceptance/features/apiGraph/addUserToGroup.feature#L162) diff --git a/tests/acceptance/features/apiSpaces/changeSpaces.feature b/tests/acceptance/features/apiSpaces/changeSpaces.feature index e5017229207..6780147949c 100644 --- a/tests/acceptance/features/apiSpaces/changeSpaces.feature +++ b/tests/acceptance/features/apiSpaces/changeSpaces.feature @@ -127,8 +127,8 @@ Feature: Change data of space Examples: | user | code | expectedQuataValue | | Alice | 200 | 100 | - | Brian | 401 | 20 | - | Bob | 401 | 20 | + | Brian | 403 | 20 | + | Bob | 403 | 20 | Scenario Outline: An space admin user set no restriction quota of a Space via the Graph API diff --git a/tests/acceptance/features/apiSpaces/setQuota.feature b/tests/acceptance/features/apiSpaces/setQuota.feature index 5c4b631c556..aff2933bc07 100644 --- a/tests/acceptance/features/apiSpaces/setQuota.feature +++ b/tests/acceptance/features/apiSpaces/setQuota.feature @@ -46,7 +46,7 @@ Feature: Set quota | User | | Guest | - @issue-5938 + Scenario Outline: non-admin user tries to set the personal space quota of other users Given the administrator has given "Alice" the role "" using the settings api And the administrator has given "Brian" the role "" using the settings api @@ -130,7 +130,7 @@ Feature: Set quota | Admin | | Space Admin | - @issue-5938 + Scenario Outline: normal or guest user tries to set quota of a space Given the administrator has given "Alice" the role "Space Admin" using the settings api And the administrator has given "Brian" the role "" using the settings api @@ -206,7 +206,7 @@ Feature: Set quota } """ - @issue-5938 + Scenario Outline: non-admin user tries to set their own personal space quota Given the administrator has given "Alice" the role "" using the settings api When user "Alice" changes the quota of the "Alice Hansen" space to "100" owned by user "Alice"