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

ContextLoaderListener not initialized during controller tests #1606

Closed
nya-elimu opened this issue Aug 6, 2022 · 0 comments · Fixed by #1608
Closed

ContextLoaderListener not initialized during controller tests #1606

nya-elimu opened this issue Aug 6, 2022 · 0 comments · Fixed by #1608
Assignees
Labels
bug Something isn't working

Comments

@nya-elimu
Copy link
Member

"10th" is accepted as word but I can't add this test because occuring error durign load EnvironmentContextLoaderListener

WordCreateController.java

String contentUrl = "https://" + EnvironmentContextLoaderListener.PROPERTIES.getProperty("content.language").toLowerCase() + ".elimu.ai/content/word/edit/" + word.getId();
EnvironmentContextLoaderListener.PROPERTIES return null during test.

Originally posted by @tomaszsmy in #1583 (comment)

@nya-elimu nya-elimu added the bug Something isn't working label Aug 6, 2022
@nya-elimu nya-elimu self-assigned this Aug 6, 2022
nya-elimu added a commit that referenced this issue Aug 6, 2022
…ests

Check if `EnvironmentContextLoaderListener.PROPERTIES` is empty.
nya-elimu added a commit that referenced this issue Aug 6, 2022
nya-elimu added a commit that referenced this issue Aug 24, 2022
nya-elimu added a commit that referenced this issue Aug 24, 2022
nya-elimu added a commit that referenced this issue Aug 25, 2022
…er-not-initialized-during-controller-tests

#1606 context loader listener not initialized during controller tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant