diff options
author | Sergio Bertolin <sbertolin@solidgear.es> | 2015-11-06 10:16:34 +0000 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-06 11:57:02 +0100 |
commit | e34872141e3e1e2e20404dcfce4a08589798ff68 (patch) | |
tree | 07b84578f97b6068efbac7ed6223abd8f9e6fe13 /build/integration/features/provisioning-v1.feature | |
parent | dc96aa384921dab74ea3aea07cbf016f8bd0681f (diff) | |
download | nextcloud-server-e34872141e3e1e2e20404dcfce4a08589798ff68.tar.gz nextcloud-server-e34872141e3e1e2e20404dcfce4a08589798ff68.zip |
Added tests about getting shares of a file and a test for deleting a user from a group which doesn't exist
Diffstat (limited to 'build/integration/features/provisioning-v1.feature')
-rw-r--r-- | build/integration/features/provisioning-v1.feature | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/integration/features/provisioning-v1.feature b/build/integration/features/provisioning-v1.feature index 91050e82c28..2a3e8e07fc4 100644 --- a/build/integration/features/provisioning-v1.feature +++ b/build/integration/features/provisioning-v1.feature @@ -159,6 +159,14 @@ Feature: provisioning And the OCS status code should be "100" And the HTTP status code should be "200" + Scenario: removing a user from a group which doesn't exists + Given As an "admin" + And user "brand-new-user" exists + And group "not-group" does not exist + When sending "DELETE" to "/cloud/users/brand-new-user/groups" with + | groupid | not-group | + Then the OCS status code should be "102" + Scenario: removing a user from a group Given As an "admin" And user "brand-new-user" exists |