Gradle Test Run :bootstrap:test

type_mismatch_in_query_parameter_returns_400_with_type_mismatch_code()

summary

1

tests

0

failures

0

skipped

0.032s

duration

100%

successful

standard output

2026-05-12T15:59:42.883+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 
2026-05-12T15:59:42.890+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet  : Initializing Servlet '' 
2026-05-12T15:59:42.892+09:00  INFO 3742337 --- [    Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet  : Completed initialization in 2 ms 
2026-05-12T15:59:42.896+09:00 DEBUG 3742337 --- [    Test worker] [traceId=5fae806647a77c1e86417cc5db799dd2] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.project.auth.ExceptionHandlingIntegrationTest$TestExceptionController#typedParam(long) 
2026-05-12T15:59:42.908+09:00 DEBUG 3742337 --- [    Test worker] [traceId=5fae806647a77c1e86417cc5db799dd2] o.s.web.method.HandlerMethod             : Could not resolve parameter [0] in java.lang.String com.project.auth.ExceptionHandlingIntegrationTest$TestExceptionController.typedParam(long): Method parameter 'id': Failed to convert value of type 'java.lang.String' to required type 'long'; For input string: "not-a-number" 
2026-05-12T15:59:42.908+09:00 DEBUG 3742337 --- [    Test worker] [traceId=5fae806647a77c1e86417cc5db799dd2] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler com.project.auth.presentation.support.exception.RequestExceptionHandler#handleTypeMismatchException(TypeMismatchException, HttpServletRequest) 
2026-05-12T15:59:42.909+09:00  WARN 3742337 --- [    Test worker] [traceId=5fae806647a77c1e86417cc5db799dd2] c.p.a.p.s.e.RequestExceptionHandler      : Type mismatch for parameter. method=GET requestPath=/test-support/typed-param parameter=id errorCode=PRES-014 
2026-05-12T15:59:42.909+09:00 DEBUG 3742337 --- [    Test worker] [traceId=5fae806647a77c1e86417cc5db799dd2] 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.910+09:00 DEBUG 3742337 --- [    Test worker] [traceId=5fae806647a77c1e86417cc5db799dd2] o.s.w.s.m.m.a.HttpEntityMethodProcessor  : Writing [ApiResult[success=false, code=PRES-014, message=요청 파라미터 타입이 올바르지 않습니다., data=null, errors=null, trac (truncated)...] 
2026-05-12T15:59:42.911+09:00 DEBUG 3742337 --- [    Test worker] [traceId=5fae806647a77c1e86417cc5db799dd2] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.method.annotation.MethodArgumentTypeMismatchException: Method parameter 'id': Failed to convert value of type 'java.lang.String' to required type 'long'; For input string: "not-a-number"]