Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Allow configuring the ContentNegotiationManager in MockMVC standalone controller setup [SPR-15248] #19813
Settings that can be made to the MVC infrastructure through
That effectively means that to replicate the web framework behavior I get through my normal web configuration in standalone controller mode I have to repeat a lot of configuration code which even needs to look different than my normal configuration.
Is there maybe a way to derive the setup ffrom handing over a configration class that extends
To complete the picture, here's the situation that caused the issue in the first palce. The addition of Spring Data Redis transitively pulled in
Affects: 4.3.6, 5.0 M4
Rossen Stoyanchev commented
The protected modifier was not intentional and wrong from the start it seems. I have corrected it in both master and 4.3.x.
I wonder if there are any more reasons for taking a