mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-23 22:59:03 +00:00
Ensure MockMvcTesterIntegrationTests runs in AOT mode
See gh-29122
This commit is contained in:
+2
-2
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user