fix test expectations

This commit is contained in:
Michael Barz
2023-06-06 16:03:43 +02:00
parent 67294e2c83
commit d5dcaaa7b4
21 changed files with 147 additions and 147 deletions
@@ -44,7 +44,7 @@ Feature: Set quota
| Admin |
| Space Admin |
| User |
| Guest |
| User Light |
Scenario Outline: non-admin user tries to set the personal space quota of other users
@@ -57,15 +57,15 @@ Feature: Set quota
| Space Admin | Admin |
| Space Admin | Space Admin |
| Space Admin | User |
| Space Admin | Guest |
| Space Admin | User Light |
| User | Admin |
| User | Space Admin |
| User | User |
| User | Guest |
| Guest | Admin |
| Guest | Space Admin |
| Guest | User |
| Guest | Guest |
| User | User Light |
| User Light | Admin |
| User Light | Space Admin |
| User Light | User |
| User Light | User Light |
Scenario Outline: admin or space admin user sets a quota of a project space
@@ -108,7 +108,7 @@ Feature: Set quota
| Space Admin |
Scenario Outline: normal or guest user tries to set quota of a space
Scenario Outline: normal or user light 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 "<userRole>" using the settings api
And user "Alice" has created a space "Project Jupiter" of type "project" with quota "20"
@@ -118,13 +118,13 @@ Feature: Set quota
When user "Brian" changes the quota of the "Project Jupiter" space to "100"
Then the HTTP status code should be "403"
Examples:
| userRole | spaceRole |
| User | viewer |
| User | editor |
| User | manager |
| Guest | viewer |
| Guest | editor |
| Guest | manager |
| userRole | spaceRole |
| User | viewer |
| User | editor |
| User | manager |
| User Light | viewer |
| User Light | editor |
| User Light | manager |
Scenario: admin user can set their own personal space quota
@@ -164,4 +164,4 @@ Feature: Set quota
| userRole |
| Space Admin |
| User |
| Guest |
| User Light |