I am trying to run a unit test in spring-boot using spring security and a simple home (root) controller which uses thymeleaf for the template processing. I am trying to writ
If you don't care about testing returned view and would like to only test the controller, simply disable Thymeleaf is Spring boot 2+ in your test application properties file