Gradle Test Run :bootstrap:test
unsupported_method_returns_405_json()
summary
|
100%
successful |
standard output
2026-05-12T15:59:42.868+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-05-12T15:59:42.868+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-05-12T15:59:42.869+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms 2026-05-12T15:59:42.875+09:00 DEBUG 3742337 --- [ Test worker] [traceId=03d953263f8b643df535f9f48a754c39] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler com.project.auth.presentation.support.exception.RequestExceptionHandler#handleMethodNotSupportedException(HttpRequestMethodNotSupportedException, HttpServletRequest) 2026-05-12T15:59:42.876+09:00 WARN 3742337 --- [ Test worker] [traceId=03d953263f8b643df535f9f48a754c39] c.p.a.p.s.e.RequestExceptionHandler : Method not supported. method=POST requestPath=/test-support/protected attemptedMethod=POST errorCode=PRES-003 2026-05-12T15:59:42.876+09:00 DEBUG 3742337 --- [ Test worker] [traceId=03d953263f8b643df535f9f48a754c39] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json, application/yaml] 2026-05-12T15:59:42.877+09:00 DEBUG 3742337 --- [ Test worker] [traceId=03d953263f8b643df535f9f48a754c39] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [ApiResult[success=false, code=PRES-003, message=지원하지 않는 HTTP 메서드입니다., data=null, errors=null, traceI (truncated)...] 2026-05-12T15:59:42.878+09:00 DEBUG 3742337 --- [ Test worker] [traceId=03d953263f8b643df535f9f48a754c39] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.HttpRequestMethodNotSupportedException: Request method 'POST' is not supported]