summaryrefslogtreecommitdiffstats
path: root/build/integration/ldap_features/openldap-uid-username.feature
diff options
context:
space:
mode:
Diffstat (limited to 'build/integration/ldap_features/openldap-uid-username.feature')
-rw-r--r--build/integration/ldap_features/openldap-uid-username.feature14
1 files changed, 14 insertions, 0 deletions
diff --git a/build/integration/ldap_features/openldap-uid-username.feature b/build/integration/ldap_features/openldap-uid-username.feature
new file mode 100644
index 00000000000..a8bb20abf8e
--- /dev/null
+++ b/build/integration/ldap_features/openldap-uid-username.feature
@@ -0,0 +1,14 @@
+Feature: LDAP
+ Background:
+ Given using api version "2"
+ And having a valid LDAP configuration
+ And modify LDAP configuration
+ | ldapExpertUsernameAttr | uid |
+
+ Scenario: Look for a expected LDAP users
+ Given As an "admin"
+ And sending "GET" to "/cloud/users"
+ Then the OCS status code should be "200"
+ And the "users" result should match
+ | alice | 1 |
+ | ghost | 0 |