fix(content): 상세 연관 콘텐츠에 요청 언어의 저장된 제목을 적용한다

This commit is contained in:
2026-11-17 13:17:01 +09:00
parent 85d6a14c40
commit 0796b2b4fb
3 changed files with 180 additions and 8 deletions
@@ -102,7 +102,7 @@ class ContentDetailTranslationTestConfiguration : WebMvcConfigurer {
val principal = MemberAdapter(members.findById(request.getHeader("X-Test-Member").toLong()).orElseThrow())
SecurityContextHolder.getContext().authentication =
UsernamePasswordAuthenticationToken(principal, null, principal.authorities)
lang.setLang(Lang.EN)
lang.setLang(Lang.fromAcceptLanguage(request.getHeader("Accept-Language") ?: "en"))
try {
chain.doFilter(request, response)
} finally {