-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update LDAP user search test #620
Conversation
* Blank UI field for user search results in the value [] * Current test to ignore is "if field is None:", which fails since [] is not None * With "if field:", [] is False and properly ignored
Shouldn't we add a test for this as well? |
Yeah, was in progress.. Added a case for it now. |
Oops, test didn't hit new code.. Standby.. |
c6572c0
to
dc24f16
Compare
OK, unit test added to cover this strange scenario. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
Quality Gate passedIssues Measures |
LDAP auth should require one of User Search or User DN Template, but not both. Currently LDAP auth is blocked if User Search is empty ([]), this change fixes this issue and allows auth when only User DN Template is specified.
This is for: https://issues.redhat.com/browse/AAP-28020
That Jira is now closed, but this is good to fix anyway.