From 0c9c3153b5f4cb85a2198e3b8991707f1d16b7b0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 10 Aug 2021 14:10:06 +0200 Subject: [PATCH] tests/e2e: fix LDAP provider tests Signed-off-by: Jens Langhammer --- tests/e2e/test_provider_ldap.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/e2e/test_provider_ldap.py b/tests/e2e/test_provider_ldap.py index d3c66e9ef..808a74d7a 100644 --- a/tests/e2e/test_provider_ldap.py +++ b/tests/e2e/test_provider_ldap.py @@ -202,6 +202,7 @@ class TestProviderLDAP(SeleniumTestCase): "dn": f"cn={outpost_user.username},ou=users,dc=ldap,dc=goauthentik,dc=io", "attributes": { "cn": [outpost_user.username], + "sAMAccountName": [outpost_user.username], "uid": [outpost_user.uid], "name": [""], "displayName": [""], @@ -227,6 +228,7 @@ class TestProviderLDAP(SeleniumTestCase): "dn": f"cn={embedded_account.username},ou=users,dc=ldap,dc=goauthentik,dc=io", "attributes": { "cn": [embedded_account.username], + "sAMAccountName": [embedded_account.username], "uid": [embedded_account.uid], "name": [""], "displayName": [""], @@ -252,6 +254,7 @@ class TestProviderLDAP(SeleniumTestCase): "dn": f"cn={USER().username},ou=users,dc=ldap,dc=goauthentik,dc=io", "attributes": { "cn": [USER().username], + "sAMAccountName": [USER().username], "uid": [USER().uid], "name": [USER().name], "displayName": [USER().name],