mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 08:24:13 +00:00
Migrate RequestMappingHandlerAdapterTests#responseBodyAdvice from the deprecated MappingJackson2HttpMessageConverter to JacksonJsonHttpMessageConverter. The test advice now implements ResponseBodyAdvice directly and returns a map body that is written by the selected converter. This maintains the test coverage for gh-22638, verifying that a ControllerAdvice implementing both ResponseBodyAdvice and RequestBodyAdvice is not registered twice. Signed-off-by: Sunghyun Shin <froggy0m0a@gmail.com>