1
0
forked from baron/baron-sso

Fix code-check locale and headless test failures

This commit is contained in:
2026-05-14 10:15:50 +09:00
parent 8bca127723
commit d77199bdbc
9 changed files with 32 additions and 25 deletions

View File

@@ -860,7 +860,7 @@ subtitle = "Manage your organization"
[ui.admin.integrity]
kicker = "System"
loading = "Loading"
loading = "Loading data integrity report..."
title = "Data Integrity Check"
[ui.admin.integrity.forbidden]

View File

@@ -861,7 +861,7 @@ plane = "ADMIN PLANE"
subtitle = "Manage your organization"
[ui.admin.integrity]
kicker = "System"
kicker = "시스템"
loading = "불러오는 중"
title = "데이터 정합성 검증"
@@ -873,7 +873,7 @@ delete = "선택 삭제"
title = "유령 로그인 ID 정리"
[ui.admin.integrity.read_model]
title = "Read model integrity"
title = "읽기 모델 정합성"
[ui.admin.integrity.reason]
deleted_tenant = "삭제된 테넌트"
@@ -897,13 +897,13 @@ passed = "정상"
total_checks = "검사 항목"
[ui.admin.integrity.table]
field = "Field"
login_id = "Login ID"
field = "필드"
login_id = "로그인 ID"
reason = "사유"
select = "선택"
select_item = "{{loginId}} 선택"
tenant = "Tenant"
user = "User"
tenant = "테넌트"
user = "사용자"
[ui.admin.nav]
org_chart = "조직도"

View File

@@ -359,6 +359,8 @@ func mustHeadlessClientAssertionWithAlgorithm(t *testing.T, privateKey any, alg
}
func runHeadlessPasswordLoginWithAssertion(t *testing.T, jwks map[string]any, clientAssertion string) *http.Response {
t.Helper()
t.Setenv("BACKEND_PUBLIC_URL", "")
return runHeadlessPasswordLoginWithAssertionRequest(t, jwks, clientAssertion, "http://example.com/api/v1/auth/headless/password/login", nil)
}
@@ -454,6 +456,8 @@ func runHeadlessPasswordLoginWithAssertionAndLogger(
clientAssertion string,
logger *slog.Logger,
) *http.Response {
t.Helper()
t.Setenv("BACKEND_PUBLIC_URL", "")
return runHeadlessPasswordLoginWithAssertionAndLoggerRequest(
t,
jwks,
@@ -799,6 +803,8 @@ func TestPasswordLogin_UserFront_AuditIncludesDefaultClientMetadata(t *testing.T
}
func TestHeadlessPasswordLogin_HeadlessLoginClientSuccess(t *testing.T) {
t.Setenv("BACKEND_PUBLIC_URL", "")
if !testsupport.PortBindingAvailable() {
t.Skip("skipping headless login tests because this environment cannot bind local TCP listeners")
}
@@ -1019,6 +1025,8 @@ func TestHeadlessPasswordLogin_AuditIncludesClientMetadata(t *testing.T) {
}
func TestHeadlessPasswordLogin_IgnoresInlineHeadlessJWKSWhenJWKSURIIsConfigured(t *testing.T) {
t.Setenv("BACKEND_PUBLIC_URL", "")
if !testsupport.PortBindingAvailable() {
t.Skip("skipping headless login tests because this environment cannot bind local TCP listeners")
}
@@ -1106,6 +1114,8 @@ func TestHeadlessPasswordLogin_IgnoresInlineHeadlessJWKSWhenJWKSURIIsConfigured(
}
func TestHeadlessPasswordLogin_RefreshesJWKSWhenSignatureFailsForCachedKid(t *testing.T) {
t.Setenv("BACKEND_PUBLIC_URL", "")
if !testsupport.PortBindingAvailable() {
t.Skip("skipping headless login tests because this environment cannot bind local TCP listeners")
}
@@ -1418,6 +1428,8 @@ func TestHeadlessPasswordLogin_AudienceMismatchReturnsDetailedCode(t *testing.T)
}
func TestHeadlessPasswordLogin_AcceptsForwardedHTTPSAudience(t *testing.T) {
t.Setenv("BACKEND_PUBLIC_URL", "")
privateKey, jwks := mustHeadlessRSAJWK(t)
clientAssertion := mustHeadlessClientAssertion(
t,

View File

@@ -2514,6 +2514,7 @@ department = "Department"
email = "Email"
name = "Name"
tenant = "Tenant"
tenant_slug = "Tenant slug"
[ui.userfront.profile.password]
change = "Change"
@@ -2630,7 +2631,7 @@ load_error = "Failed to load the integrity report."
[ui.admin.integrity]
kicker = "System"
loading = "Loading"
loading = "Loading data integrity report..."
title = "Data Integrity Check"
[ui.admin.integrity.forbidden]
@@ -2699,6 +2700,3 @@ status_placeholder = "Select status"
[ui.dev.profile.org]
tenant_slug = "Tenant slug"
[ui.userfront.profile.field]
tenant_slug = "Tenant slug"

View File

@@ -2938,6 +2938,7 @@ department = "소속"
email = "이메일"
name = "이름"
tenant = "소속 테넌트"
tenant_slug = "테넌트 slug"
[ui.userfront.profile.password]
change = "비밀번호 변경"
@@ -3052,7 +3053,7 @@ success = "검사가 완료되었습니다."
load_error = "정합성 리포트를 불러오지 못했습니다."
[ui.admin.integrity]
kicker = "System"
kicker = "시스템"
loading = "불러오는 중"
title = "데이터 정합성 검증"
@@ -3064,7 +3065,7 @@ delete = "선택 삭제"
title = "유령 로그인 ID 정리"
[ui.admin.integrity.read_model]
title = "Read model integrity"
title = "읽기 모델 정합성"
[ui.admin.integrity.reason]
deleted_tenant = "삭제된 테넌트"
@@ -3088,13 +3089,13 @@ passed = "정상"
total_checks = "검사 항목"
[ui.admin.integrity.table]
field = "Field"
login_id = "Login ID"
field = "필드"
login_id = "로그인 ID"
reason = "사유"
select = "선택"
select_item = "{{loginId}} 선택"
tenant = "Tenant"
user = "User"
tenant = "테넌트"
user = "사용자"
[msg.admin.api_keys.list]
edit_scopes_desc = "API 키에 부여할 권한 범위를 수정합니다."
@@ -3122,6 +3123,3 @@ status_placeholder = "상태 선택"
[ui.dev.profile.org]
tenant_slug = "테넌트 slug"
[ui.userfront.profile.field]
tenant_slug = "테넌트 slug"

View File

@@ -2817,6 +2817,7 @@ department = ""
email = ""
name = ""
tenant = ""
tenant_slug = ""
[ui.userfront.profile.password]
change = ""
@@ -3001,6 +3002,3 @@ status_placeholder = ""
[ui.dev.profile.org]
tenant_slug = ""
[ui.userfront.profile.field]
tenant_slug = ""

View File

@@ -599,7 +599,7 @@ department = "Department"
email = "Email"
name = "Name"
tenant = "Tenant"
tenant_slug = "Tenant Slug"
tenant_slug = "Tenant slug"
[ui.userfront.profile.password]
change = "Change"

View File

@@ -821,7 +821,7 @@ department = "소속"
email = "이메일"
name = "이름"
tenant = "소속 테넌트"
tenant_slug = "테넌트 Slug"
tenant_slug = "테넌트 slug"
[ui.userfront.profile.password]
change = "비밀번호 변경"

View File

@@ -793,6 +793,7 @@ department = ""
email = ""
name = ""
tenant = ""
tenant_slug = ""
[ui.userfront.profile.password]
change = ""