Gradle Test Run :bootstrap:test
me_returns_409_when_subject_is_not_found_but_same_email_exists()
summary
|
100%
successful |
standard output
2026-05-12T15:59:41.170+09:00 DEBUG 3742337 --- [ Test worker] [traceId=] org.hibernate.SQL : select uje1_0.id,uje1_0.created_at,uje1_0.email,uje1_0.name,uje1_0.provider,uje1_0.provider_subject,uje1_0.updated_at from auth.users uje1_0 2026-05-12T15:59:41.172+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.b.t.m.w.SpringBootMockServletContext : Initializing Spring TestDispatcherServlet '' 2026-05-12T15:59:41.172+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2026-05-12T15:59:41.173+09:00 INFO 3742337 --- [ Test worker] [traceId=] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms 2026-05-12T15:59:41.190+09:00 DEBUG 3742337 --- [ Test worker] [traceId=] org.hibernate.SQL : select uje1_0.id,uje1_0.created_at,uje1_0.email,uje1_0.name,uje1_0.provider,uje1_0.provider_subject,uje1_0.updated_at from auth.users uje1_0 where uje1_0.id=? 2026-05-12T15:59:41.230+09:00 DEBUG 3742337 --- [ Test worker] [traceId=] org.hibernate.SQL : insert into auth.users (created_at,email,name,provider,provider_subject,id) values (?,?,?,?,?,?) 2026-05-12T15:59:41.240+09:00 DEBUG 3742337 --- [ Test worker] [traceId=] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped to com.project.auth.presentation.auth.controller.AuthenticatedUserController#me(AuthenticatedUser) 2026-05-12T15:59:41.631+09:00 DEBUG 3742337 --- [ Test worker] [traceId=] org.hibernate.SQL : select uje1_0.id,uje1_0.created_at,uje1_0.email,uje1_0.name,uje1_0.provider,uje1_0.provider_subject,uje1_0.updated_at from auth.users uje1_0 where uje1_0.provider=? and uje1_0.provider_subject=? 2026-05-12T15:59:41.647+09:00 DEBUG 3742337 --- [ Test worker] [traceId=] org.hibernate.SQL : select uje1_0.id from auth.users uje1_0 where uje1_0.email=? fetch first ? rows only 2026-05-12T15:59:41.658+09:00 DEBUG 3742337 --- [ Test worker] [traceId=] .m.m.a.ExceptionHandlerExceptionResolver : Using @ExceptionHandler com.project.auth.presentation.support.exception.ApplicationExceptionHandler#handleBusinessException(BusinessException, HttpServletRequest) 2026-05-12T15:59:41.658+09:00 WARN 3742337 --- [ Test worker] [traceId=] c.p.a.p.s.e.ApplicationExceptionHandler : Business exception. exceptionType=KeycloakAccountConflictException errorCode=AUTH-005 method=GET requestPath=/api/v1/auth/me 2026-05-12T15:59:41.659+09:00 DEBUG 3742337 --- [ Test worker] [traceId=] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Using 'application/json', given [*/*] and supported [application/json, application/*+json, application/yaml] 2026-05-12T15:59:41.660+09:00 DEBUG 3742337 --- [ Test worker] [traceId=] o.s.w.s.m.m.a.HttpEntityMethodProcessor : Writing [ApiResult[success=false, code=AUTH-005, message=Keycloak 계정과 연결할 수 없는 내부 사용자 정보입니다., data=null, erro (truncated)...] 2026-05-12T15:59:41.661+09:00 DEBUG 3742337 --- [ Test worker] [traceId=] .m.m.a.ExceptionHandlerExceptionResolver : Resolved [com.project.auth.application.auth.exception.KeycloakAccountConflictException: Keycloak 계정과 연결할 수 없는 내부 사용자 정보입니다.] 2026-05-12T15:59:41.691+09:00 DEBUG 3742337 --- [ Test worker] [traceId=] org.hibernate.SQL : select count(*) from auth.users uje1_0