added some deletion logic
This commit is contained in:
parent
583c082acf
commit
7c63a6baa6
|
@ -26,8 +26,7 @@ Feature: provisioning
|
||||||
Scenario: Delete a user
|
Scenario: Delete a user
|
||||||
Given As an "admin"
|
Given As an "admin"
|
||||||
And user "brand-new-user" exists
|
And user "brand-new-user" exists
|
||||||
When sending "POST" to "/cloud/users" with
|
When sending "DELETE" to "/cloud/users/brand-new-user"
|
||||||
| userid | brand-new-user |
|
|
||||||
Then the status code should be "200"
|
Then the status code should be "200"
|
||||||
And user "brand-new-user" does not exist
|
And user "brand-new-user" does not exist
|
||||||
|
|
||||||
|
@ -42,3 +41,11 @@ Feature: provisioning
|
||||||
Then the status code should be "200"
|
Then the status code should be "200"
|
||||||
And group "new-group" exists
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue