Gradle Test Run :bootstrap:test

unsupported_content_type_returns_415()

summary

1

tests

0

failures

0

skipped

0.012s

duration

100%

successful

standard output

2026-05-12T15:59:43.098+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 
2026-05-12T15:59:43.098+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet '' 
2026-05-12T15:59:43.099+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 1 ms 
2026-05-12T15:59:43.102+09:00 DEBUG 3742337 --- [    Test worker] [traceId=1fc67023b5c5d3760c89f58fb30531f5] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.project.auth.ExceptionHandlingIntegrationTest$TestExceptionController#bodyEndpoint(Map) 
2026-05-12T15:59:43.104+09:00 DEBUG 3742337 --- [    Test worker] [traceId=1fc67023b5c5d3760c89f58fb30531f5] o.s.web.method.HandlerMethod             : Could not resolve parameter [0] in java.lang.String com.project.auth.ExceptionHandlingIntegrationTest$TestExceptionController.bodyEndpoint(java.util.Map<java.lang.String, java.lang.Object>): Content-Type 'application/xml' is not supported 
2026-05-12T15:59:43.104+09:00 DEBUG 3742337 --- [    Test worker] [traceId=1fc67023b5c5d3760c89f58fb30531f5] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler com.project.auth.presentation.support.exception.RequestExceptionHandler#handleMediaTypeNotSupportedException(HttpMediaTypeNotSupportedException, HttpServletRequest) 
2026-05-12T15:59:43.104+09:00  WARN 3742337 --- [    Test worker] [traceId=1fc67023b5c5d3760c89f58fb30531f5] c.p.a.p.s.e.RequestExceptionHandler      : Unsupported media type. method=POST requestPath=/test-support/body contentType=application/xml errorCode=PRES-007 
2026-05-12T15:59:43.105+09:00 DEBUG 3742337 --- [    Test worker] [traceId=1fc67023b5c5d3760c89f58fb30531f5] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Using 'application/json', given [*/*] and supported [application/json, application/*+json, application/yaml] 
2026-05-12T15:59:43.105+09:00 DEBUG 3742337 --- [    Test worker] [traceId=1fc67023b5c5d3760c89f58fb30531f5] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [ApiResult[success=false, code=PRES-007, message=지원하지 않는 Content-Type입니다., data=null, errors=null, tr (truncated)...] 
2026-05-12T15:59:43.106+09:00 DEBUG 3742337 --- [    Test worker] [traceId=1fc67023b5c5d3760c89f58fb30531f5] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.HttpMediaTypeNotSupportedException: Content-Type 'application/xml' is not supported]