-
Notifications
You must be signed in to change notification settings - Fork 3
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
Write tests for calling init()
more than once
#14
Comments
jonkoops
added
good first issue
Good for newcomers
help wanted
Extra attention is needed
labels
Jul 3, 2023
i write this pr for this issue keycloak/keycloak#21414 |
Thanks @Ehsanino82. The changes you made are not exactly what we need (see keycloak/keycloak#21414 (comment)). I've updated the issue to be more descriptive. |
Hey @jonkoops , can I take this issue? |
Sure, go right ahead! |
jonkoops
removed
good first issue
Good for newcomers
help wanted
Extra attention is needed
labels
Jul 14, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is not possible to call
init()
more than once, an exception will be thrown if it is (see implementation under keycloak/keycloak#20722). This behavior is currently not covered by tests.Under this issue a test must be written that will initialize a Keycloak JS instance twice, and assert that it does in fact throw an exception.
These tests must be added to the existing JavaScriptAdapterTest.
The text was updated successfully, but these errors were encountered: