Skip to content

ContextLoaderListener not initialized during controller tests #1606

@nya-elimu

Description

@nya-elimu

"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)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions