diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-01-18 23:17:58 +0100 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2017-01-18 23:17:58 +0100 |
commit | a515de54e7d88c0d82bb9287f2a63ccdcc96b0fb (patch) | |
tree | ffea281c79cf6e2658d4ac29f4e3430ac4a36637 /build | |
parent | 689df9a843dd0505088143de039af775a3f92612 (diff) | |
download | nextcloud-server-a515de54e7d88c0d82bb9287f2a63ccdcc96b0fb.tar.gz nextcloud-server-a515de54e7d88c0d82bb9287f2a63ccdcc96b0fb.zip |
LDAP OCS Api for delete config
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'build')
-rw-r--r-- | build/integration/features/ldap-ocs.feature | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/build/integration/features/ldap-ocs.feature b/build/integration/features/ldap-ocs.feature index d8586bb75bf..6e1c77e24c9 100644 --- a/build/integration/features/ldap-ocs.feature +++ b/build/integration/features/ldap-ocs.feature @@ -5,3 +5,17 @@ Feature: LDAP When sending "POST" to "/apps/user_ldap/api/v1/config" Then the OCS status code should be "100" And the HTTP status code should be "200" + + Scenario: Delete a non-existing configuration + Given As an "admin" + When sending "DELETE" to "/apps/user_ldap/api/v1/config/s666" + Then the OCS status code should be "404" + And the HTTP status code should be "200" + + Scenario: Delete an invalid configuration + Given As an "admin" + When sending "DELETE" to "/apps/user_ldap/api/v1/config/hack0r" + Then the OCS status code should be "400" + And the HTTP status code should be "200" + + # TODO: Scenario deleting an existing config ID (needs to be created before) |