fix tests
This commit is contained in:
@@ -113,7 +113,7 @@ Feature: Space management
|
||||
|
||||
Scenario: user without space admin permission tries to change the name of the project space
|
||||
When user "Carol" tries to change the name of the "Project" space to "New Name" owned by user "Alice"
|
||||
Then the HTTP status code should be "403"
|
||||
Then the HTTP status code should be "404"
|
||||
And the user "Alice" should have a space called "Project"
|
||||
|
||||
@skipOnStable2.0
|
||||
@@ -140,7 +140,7 @@ Feature: Space management
|
||||
Scenario: user without space admin permission tries to change the description of the project space
|
||||
Given user "Alice" has changed the description of the "Project" space to "old description"
|
||||
When user "Carol" tries to change the description of the "Project" space to "New description" owned by user "Alice"
|
||||
Then the HTTP status code should be "403"
|
||||
Then the HTTP status code should be "404"
|
||||
|
||||
@skipOnStable2.0
|
||||
Scenario: space admin user disables the project space
|
||||
@@ -151,12 +151,12 @@ Feature: Space management
|
||||
|
||||
Scenario: user without space admin permission tries to disable the project space
|
||||
When user "Carol" tries to disable a space "Project" owned by user "Alice"
|
||||
Then the HTTP status code should be "403"
|
||||
Then the HTTP status code should be "404"
|
||||
|
||||
|
||||
Scenario Outline: space admin user tries to disable the personal space
|
||||
When user "<user>" disables a space "Alice Hansen" owned by user "Alice"
|
||||
Then the HTTP status code should be "403"
|
||||
Then the HTTP status code should be "404"
|
||||
Examples:
|
||||
| user |
|
||||
| Brian |
|
||||
@@ -173,7 +173,7 @@ Feature: Space management
|
||||
Scenario: user without space admin permission tries to delete the project space
|
||||
Given user "Alice" has disabled a space "Project"
|
||||
When user "Carol" tries to delete a space "Project" owned by user "Alice"
|
||||
Then the HTTP status code should be "403"
|
||||
Then the HTTP status code should be "404"
|
||||
|
||||
@skipOnStable2.0
|
||||
Scenario: space admin user enables the project space
|
||||
|
||||
Reference in New Issue
Block a user