summaryrefslogtreecommitdiffstats
path: root/build/integration/ldap_features
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2018-04-09 12:27:36 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2018-08-09 23:45:10 +0200
commitb4eeb9eff5b2892fc9c1da5f56fb1129730d07a6 (patch)
tree99a7f96d07cc6ac3515266be4cc37c27fe9f7135 /build/integration/ldap_features
parent86d145f0692df7b6d5883c6caa88c19b7d725161 (diff)
downloadnextcloud-server-b4eeb9eff5b2892fc9c1da5f56fb1129730d07a6.tar.gz
nextcloud-server-b4eeb9eff5b2892fc9c1da5f56fb1129730d07a6.zip
check user details
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'build/integration/ldap_features')
-rw-r--r--build/integration/ldap_features/ldap-openldap.feature11
1 files changed, 9 insertions, 2 deletions
diff --git a/build/integration/ldap_features/ldap-openldap.feature b/build/integration/ldap_features/ldap-openldap.feature
index e52ab600aec..c63fdf1f9c5 100644
--- a/build/integration/ldap_features/ldap-openldap.feature
+++ b/build/integration/ldap_features/ldap-openldap.feature
@@ -5,6 +5,13 @@ Feature: LDAP
Scenario: Test valid configuration by logging in
Given having a valid LDAP configuration
When Logging in using web as "alice"
- #When As an "alice"
- And sending "GET" to "/cloud/user"
Then the HTTP status code should be "200"
+
+ Scenario: Look for a known LDAP user
+ Given having a valid LDAP configuration
+ And As an "admin"
+ And sending "GET" to "/cloud/users?search=alice"
+ Then the OCS status code should be "200"
+ And looking up details for the first result matches expectations
+ | email | alice@nextcloud.ci |
+ | displayname | Alice |