forked from baron/baron-sso
코드체크 업데이트
This commit is contained in:
@@ -55,6 +55,7 @@ func (m *MockUserRepository) Update(ctx context.Context, user *domain.User) erro
|
||||
m.updatedUsers = append(m.updatedUsers, copied)
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MockUserRepository) Delete(ctx context.Context, id string) error {
|
||||
return m.Called(ctx, id).Error(0)
|
||||
}
|
||||
|
||||
@@ -213,6 +213,8 @@ func TestResolveWorksmobileDomainIDFromTenantIgnoresRootDomainMappings(t *testin
|
||||
}
|
||||
|
||||
func TestResolveWorksmobileDomainIDFromTenantRequiresFamilyDomainEnv(t *testing.T) {
|
||||
t.Setenv("SAMAN_DOMAIN_ID", "")
|
||||
|
||||
rootConfig := domain.JSONMap{
|
||||
"worksmobile": map[string]any{
|
||||
"domainMappings": map[string]any{
|
||||
|
||||
Reference in New Issue
Block a user