Migrate @AutoConfigureMockMvc HtmlUnit attributes to nested @HtmlUnit
ProprietarySpring Boot 4 moved webClientEnabled and webDriverEnabled on @AutoConfigureMockMvc under a nested @HtmlUnit annotation as webClient and webDriver, and relocated the annotation to org.springframework.boot.webmvc.test.autoconfigure. This recipe rewrites the attribute syntax and relocates the annotation in one step, matching the annotation at its original package.
io. moderne. java. spring. boot4. MigrateAutoConfigureMockMvcHtmlUnitmod run . --recipe= io. moderne. java. spring. boot4. MigrateAutoConfigureMockMvcHtmlUnitInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.