Gradle Test Run :bootstrap:test
field_level_and_class_level_violations_coexist_in_response()
summary
|
100%
successful |
standard output
2026-05-12T15:59:46.175+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet ''
2026-05-12T15:59:46.175+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet ''
2026-05-12T15:59:46.176+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms
2026-05-12T15:59:46.178+09:00 DEBUG 3742337 --- [ Test worker] [traceId=40737d1324e5f0819295bae39d8673e8] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.project.auth.ValidationExceptionHandlerIntegrationTest$ValidationTestController#signup(SignupRequest)
2026-05-12T15:59:46.179+09:00 DEBUG 3742337 --- [ Test worker] [traceId=40737d1324e5f0819295bae39d8673e8] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json" to [SignupRequest[password=, passwordConfirm=different]]
2026-05-12T15:59:46.180+09:00 DEBUG 3742337 --- [ Test worker] [traceId=40737d1324e5f0819295bae39d8673e8] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler com.project.auth.presentation.support.exception.ValidationExceptionHandler#handleValidationException(MethodArgumentNotValidException)
2026-05-12T15:59:46.180+09:00 WARN 3742337 --- [ Test worker] [traceId=40737d1324e5f0819295bae39d8673e8] c.p.a.p.s.e.ValidationExceptionHandler : Validation failed: {/password=[password is required], __global__=[passwords must match]}
2026-05-12T15:59:46.181+09:00 DEBUG 3742337 --- [ Test worker] [traceId=40737d1324e5f0819295bae39d8673e8] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json, application/yaml]
2026-05-12T15:59:46.181+09:00 DEBUG 3742337 --- [ Test worker] [traceId=40737d1324e5f0819295bae39d8673e8] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [ApiResult[success=false, code=PRES-001, message=요청 값이 올바르지 않습니다., data=null, errors={/password=[pass (truncated)...]
2026-05-12T15:59:46.182+09:00 DEBUG 3742337 --- [ Test worker] [traceId=40737d1324e5f0819295bae39d8673e8] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in java.lang.String com.project.auth.ValidationExceptionHandlerIntegrationTest$ValidationTestController.signup(com.project.auth.ValidationExceptionHandlerIntegrationTest$SignupRequest) with 2 errors: [Field error in object 'signupRequest' on field 'password': rejected value []; codes [NotBlank.signupRequest.password,NotBlank.password,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [signupRequest.password,password]; arguments []; default message [password]]; default message [password is required]] [Error in object 'signupRequest': codes [PasswordsMatch.signupRequest,PasswordsMatch]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [signupRequest]; arguments []; default message []]; default message [passwords must match]] ]