Skip to content
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

DM-44136: Refactor OIDC tests #1022

Merged
merged 3 commits into from
May 7, 2024
Merged

DM-44136: Refactor OIDC tests #1022

merged 3 commits into from
May 7, 2024

Conversation

rra
Copy link
Member

@rra rra commented May 7, 2024

Add helper functions to the LDAP mock to create test users and group memberships, and use those everywhere. Remove duplicate tests and now-unused configuration files. Consolidate all of the OIDC login tests into a single test file.

rra added 3 commits May 7, 2024 16:21
Add helper functions to the LDAP mock to create test users and
group memberships, and use those everywhere. Remove duplicate tests
and now-unused configuration files. Consolidate all of the OIDC
login tests into a single test file.
The GitHub mock setup function was async for reasons that have
subsequently been fixed in the config dependency, so make it sync
again, since that's somewhat clearer.
The user base DN is now a mandatory setting if LDAP is enabled, so
we don't have to check whether it's set.
@rra rra enabled auto-merge May 7, 2024 23:23
@rra rra merged commit d593a5f into main May 7, 2024
5 checks passed
@rra rra deleted the tickets/DM-44136 branch May 7, 2024 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant