Closed
Description
Beans implementing Thymeleaf's IDialect
interface are automatically registered by Spring Boot as dialects for Thymeleaf templates.
But this doesn't happen in WebMvcTests, where IDialect beans are not included. It seems to me that they belong to the web MVC layer, and should thus be added to the WebMvcTest slice.
The workaround is of course easy enough:
@Import(MyCustomDialect.class)