diff options
Diffstat (limited to 'build/integration/features/provisioning-v1.feature')
-rw-r--r-- | build/integration/features/provisioning-v1.feature | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/build/integration/features/provisioning-v1.feature b/build/integration/features/provisioning-v1.feature index 2c9564bcdcf..6e2076da6a9 100644 --- a/build/integration/features/provisioning-v1.feature +++ b/build/integration/features/provisioning-v1.feature @@ -5,12 +5,12 @@ Feature: provisioning Scenario: Getting an not existing user Given As an "admin" When sending "GET" to "/cloud/users/test" - Then the status code should be "200" + Then the status code should be "998" Scenario: Listing all users Given As an "admin" When sending "GET" to "/cloud/users" - Then the status code should be "200" + Then the status code should be "100" Scenario: Create a user Given As an "admin" @@ -18,8 +18,7 @@ Feature: provisioning When sending "POST" to "/cloud/users" with | userid | brand-new-user | | password | 123456 | - - Then the status code should be "200" + Then the status code should be "100" And user "brand-new-user" exists @@ -27,7 +26,7 @@ Feature: provisioning Given As an "admin" And user "brand-new-user" exists When sending "DELETE" to "/cloud/users/brand-new-user" - Then the status code should be "200" + Then the status code should be "100" And user "brand-new-user" does not exist @@ -38,7 +37,7 @@ Feature: provisioning | groupid | new-group | | password | 123456 | - Then the status code should be "200" + Then the status code should be "100" And group "new-group" exists @@ -46,6 +45,8 @@ Feature: provisioning Given As an "admin" And group "new-group" exists When sending "DELETE" to "/cloud/groups/new-group" - Then the status code should be "200" + Then the status code should be "100" And group "new-group" does not exist + + |