From cade3c7b0eed819745f9291d44d38a28c7c992fc Mon Sep 17 00:00:00 2001 From: Sam Brannen <104798+sbrannen@users.noreply.github.com> Date: Wed, 29 May 2024 13:32:22 +0200 Subject: [PATCH] Ensure MockMvcTesterIntegrationTests runs in AOT mode See gh-29122 --- .../web/servlet/assertj/MockMvcTesterIntegrationTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-test/src/test/java/org/springframework/test/web/servlet/assertj/MockMvcTesterIntegrationTests.java b/spring-test/src/test/java/org/springframework/test/web/servlet/assertj/MockMvcTesterIntegrationTests.java index 2ebc9a328b..75e3b600b8 100644 --- a/spring-test/src/test/java/org/springframework/test/web/servlet/assertj/MockMvcTesterIntegrationTests.java +++ b/spring-test/src/test/java/org/springframework/test/web/servlet/assertj/MockMvcTesterIntegrationTests.java @@ -503,7 +503,7 @@ public class MockMvcTesterIntegrationTests { @Controller @SessionAttributes("locale") - private static class SessionController { + static class SessionController { @ModelAttribute void populate(Model model) { @@ -517,7 +517,7 @@ public class MockMvcTesterIntegrationTests { } @Controller - private static class ErrorController { + static class ErrorController { @GetMapping("/error/1") public String one() {