I am currently working on the localization of my (second) Spring Boot project. However, I have come to a halt after several hours of struggling: I am unable to get a user-editable Session localization. The problem appears to occur as soon as the user sends a GET request with the lang parameter. (travel down below to see the results I
Tag: spring-thymeleaf
testing code with a “real” Thymeleaf template engine and nothing else
In my Spring Boot project (v2.6), one of my components is using a Thymeleaf template engine to generate content. I want to unit test my component, but I am struggling because it has a TemplateEngine as a constructor dependency : I don’t want to mock the TemplateEngine (the test would not have great value), I would prefer to use a