summaryrefslogtreecommitdiffstats
path: root/build/integration/features/provisioning-v1.feature
diff options
context:
space:
mode:
Diffstat (limited to 'build/integration/features/provisioning-v1.feature')
-rw-r--r--build/integration/features/provisioning-v1.feature15
1 files changed, 15 insertions, 0 deletions
diff --git a/build/integration/features/provisioning-v1.feature b/build/integration/features/provisioning-v1.feature
index 2bfd6a06d0d..823fd823c5e 100644
--- a/build/integration/features/provisioning-v1.feature
+++ b/build/integration/features/provisioning-v1.feature
@@ -24,6 +24,21 @@ Feature: provisioning
And the HTTP status code should be "200"
And user "brand-new-user" exists
+ Scenario: Create an existing user
+ Given As an "admin"
+ And user "brand-new-user" exists
+ When sending "POST" to "/cloud/users" with
+ | userid | brand-new-user |
+ | password | 123456 |
+ Then the OCS status code should be "102"
+ And the HTTP status code should be "200"
+
+ Scenario: Get an existing user
+ Given As an "admin"
+ When sending "GET" to "/cloud/users/brand-new-user"
+ Then the OCS status code should be "100"
+ And the HTTP status code should be "200"
+
Scenario: Edit a user
Given As an "admin"