From 6e5aae26086756576ffc7d55398aabe8e452885a Mon Sep 17 00:00:00 2001 From: Sergio Bertolin Date: Mon, 5 Oct 2015 11:54:30 +0000 Subject: added a couple of tests --- build/integration/features/provisioning-v1.feature | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'build/integration/features/provisioning-v1.feature') 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" -- cgit v1.2.3