forked from baron/baron-sso
사용자 테넌트 소속 데이터 정리
This commit is contained in:
@@ -690,8 +690,8 @@ func TestTenantHandler_GetOrgContextJSONDefaultsToHanmacFamilyForApiKey(t *testi
|
||||
require.Equal(t, "기술기획", firstUser["jobTitle"])
|
||||
teamSSO := tenantsPayload[3].(map[string]any)
|
||||
ssoMembers := teamSSO["members"].([]any)
|
||||
require.Len(t, ssoMembers, 2)
|
||||
appointmentOnly := ssoMembers[1].(map[string]any)
|
||||
require.Len(t, ssoMembers, 1)
|
||||
appointmentOnly := ssoMembers[0].(map[string]any)
|
||||
require.Equal(t, "appointment@example.com", appointmentOnly["email"])
|
||||
require.Equal(t, false, appointmentOnly["isOwner"])
|
||||
require.Equal(t, true, appointmentOnly["isLeader"])
|
||||
|
||||
Reference in New Issue
Block a user