Skip to content

Commit cade3c7

Browse files
committed
Ensure MockMvcTesterIntegrationTests runs in AOT mode
See gh-29122
1 parent a0c9a20 commit cade3c7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-test/src/test/java/org/springframework/test/web/servlet/assertj/MockMvcTesterIntegrationTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ public Callable<Map<String, String>> getCallable() {
503503

504504
@Controller
505505
@SessionAttributes("locale")
506-
private static class SessionController {
506+
static class SessionController {
507507

508508
@ModelAttribute
509509
void populate(Model model) {
@@ -517,7 +517,7 @@ String handle() {
517517
}
518518

519519
@Controller
520-
private static class ErrorController {
520+
static class ErrorController {
521521

522522
@GetMapping("/error/1")
523523
public String one() {

0 commit comments

Comments
 (0)