Skip to content

Commit

Permalink
Fix expected user name (SatelliteQE#14303)
Browse files Browse the repository at this point in the history
Co-authored-by: Jameer Pathan <[email protected]>
  • Loading branch information
2 people authored and jyejare committed Oct 19, 2024
1 parent 61ac77d commit 1d55ad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/ui/test_ldap_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def test_positive_add_katello_role(
session.activationkey.create({'name': ak_name})
assert session.activationkey.search(ak_name)[0]['Name'] == ak_name
current_user = session.activationkey.read(ak_name, 'current_user')['current_user']
assert ldap_data['ldap_user_name'] in current_user
assert f"{auth_source.attr_firstname} {auth_source.attr_lastname}" in current_user


@pytest.mark.parametrize('ldap_auth_source', ['AD', 'IPA'], indirect=True)
Expand Down

0 comments on commit 1d55ad2

Please sign in to comment.