diff options
author | Sergio Bertolin <sbertolin@solidgear.es> | 2015-10-05 11:54:30 +0000 |
---|---|---|
committer | Roeland Jago Douma <rullzer@owncloud.com> | 2015-10-06 10:30:31 +0200 |
commit | 6e5aae26086756576ffc7d55398aabe8e452885a (patch) | |
tree | c89bcb19de67a17b181036a23bb7c9d4b6fe0275 | |
parent | 0c1a657282dd0bbe889485ed4a0d1124f671ef2f (diff) | |
download | nextcloud-server-6e5aae26086756576ffc7d55398aabe8e452885a.tar.gz nextcloud-server-6e5aae26086756576ffc7d55398aabe8e452885a.zip |
added a couple of tests
-rw-r--r-- | build/integration/features/provisioning-v1.feature | 15 |
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" |