tests/e2e: fix LDAP provider tests
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
557724768a
commit
0c9c3153b5
|
@ -202,6 +202,7 @@ class TestProviderLDAP(SeleniumTestCase):
|
||||||
"dn": f"cn={outpost_user.username},ou=users,dc=ldap,dc=goauthentik,dc=io",
|
"dn": f"cn={outpost_user.username},ou=users,dc=ldap,dc=goauthentik,dc=io",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"cn": [outpost_user.username],
|
"cn": [outpost_user.username],
|
||||||
|
"sAMAccountName": [outpost_user.username],
|
||||||
"uid": [outpost_user.uid],
|
"uid": [outpost_user.uid],
|
||||||
"name": [""],
|
"name": [""],
|
||||||
"displayName": [""],
|
"displayName": [""],
|
||||||
|
@ -227,6 +228,7 @@ class TestProviderLDAP(SeleniumTestCase):
|
||||||
"dn": f"cn={embedded_account.username},ou=users,dc=ldap,dc=goauthentik,dc=io",
|
"dn": f"cn={embedded_account.username},ou=users,dc=ldap,dc=goauthentik,dc=io",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"cn": [embedded_account.username],
|
"cn": [embedded_account.username],
|
||||||
|
"sAMAccountName": [embedded_account.username],
|
||||||
"uid": [embedded_account.uid],
|
"uid": [embedded_account.uid],
|
||||||
"name": [""],
|
"name": [""],
|
||||||
"displayName": [""],
|
"displayName": [""],
|
||||||
|
@ -252,6 +254,7 @@ class TestProviderLDAP(SeleniumTestCase):
|
||||||
"dn": f"cn={USER().username},ou=users,dc=ldap,dc=goauthentik,dc=io",
|
"dn": f"cn={USER().username},ou=users,dc=ldap,dc=goauthentik,dc=io",
|
||||||
"attributes": {
|
"attributes": {
|
||||||
"cn": [USER().username],
|
"cn": [USER().username],
|
||||||
|
"sAMAccountName": [USER().username],
|
||||||
"uid": [USER().uid],
|
"uid": [USER().uid],
|
||||||
"name": [USER().name],
|
"name": [USER().name],
|
||||||
"displayName": [USER().name],
|
"displayName": [USER().name],
|
||||||
|
|
Reference in a new issue