summaryrefslogtreecommitdiffstats
path: root/build/integration
diff options
context:
space:
mode:
authorSergio Bertolin <sbertolin@solidgear.es>2015-09-29 15:05:52 +0000
committerRoeland Jago Douma <rullzer@owncloud.com>2015-10-06 10:30:31 +0200
commit7c63a6baa623bf17c73a5e5aa38db07d81502109 (patch)
treebb7680e2986a4d0b52dd90915a8b500c77d54950 /build/integration
parent583c082acf16cde33bac780285f1bd391e961b4e (diff)
downloadnextcloud-server-7c63a6baa623bf17c73a5e5aa38db07d81502109.tar.gz
nextcloud-server-7c63a6baa623bf17c73a5e5aa38db07d81502109.zip
added some deletion logic
Diffstat (limited to 'build/integration')
-rw-r--r--build/integration/features/provisioning-v1.feature11
1 files changed, 9 insertions, 2 deletions
diff --git a/build/integration/features/provisioning-v1.feature b/build/integration/features/provisioning-v1.feature
index fd925e2af5d..2c9564bcdcf 100644
--- a/build/integration/features/provisioning-v1.feature
+++ b/build/integration/features/provisioning-v1.feature
@@ -26,8 +26,7 @@ Feature: provisioning
Scenario: Delete a user
Given As an "admin"
And user "brand-new-user" exists
- When sending "POST" to "/cloud/users" with
- | userid | brand-new-user |
+ When sending "DELETE" to "/cloud/users/brand-new-user"
Then the status code should be "200"
And user "brand-new-user" does not exist
@@ -42,3 +41,11 @@ Feature: provisioning
Then the status code should be "200"
And group "new-group" exists
+
+ Scenario: Delete a group
+ Given As an "admin"
+ And group "new-group" exists
+ When sending "DELETE" to "/cloud/groups/new-group"
+ Then the status code should be "200"
+ And group "new-group" does not exist
+