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

Add tests for multiple hosts #29

Merged
merged 2 commits into from
Aug 3, 2022
Merged

Conversation

pehala
Copy link
Contributor

@pehala pehala commented Aug 2, 2022

Simple test for AuthConfig with two hosts

Closes #24

@pehala pehala requested review from jsmolar and azgabur August 2, 2022 11:22
@dhlavac
Copy link
Contributor

dhlavac commented Aug 3, 2022

@pehala shouldn't there be also a test that removes the first host/create invalid host and try that the second host still works?

@pehala
Copy link
Contributor Author

pehala commented Aug 3, 2022

Regarding the removal of first host and reconciliation that is a good test case but I would implement it in subsequent PR.

As for the invalid hosts, the authorino doesn't care about host validity, it only uses it as a key for a map basically, so there is no need to test that.

@pehala pehala merged commit 5c4e70d into Kuadrant:main Aug 3, 2022
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.

Add test for multiple hosts
3 participants