forked from baron/baron-sso
chore: fix workspace formatting (devfront, backend, adminfront)
This commit is contained in:
@@ -79,9 +79,9 @@ type UserProfileResponse struct {
|
||||
Department string `json:"department"`
|
||||
AffiliationType string `json:"affiliationType"`
|
||||
CompanyCode string `json:"companyCode,omitempty"`
|
||||
TenantID *string `json:"tenantId,omitempty"` // 추가
|
||||
TenantID *string `json:"tenantId,omitempty"` // 추가
|
||||
SessionTenantID *string `json:"sessionTenantId,omitempty"` // [New] 로그인에 사용된 식별자 기반 테넌트
|
||||
RelyingPartyID *string `json:"relyingPartyId,omitempty"` // 추가
|
||||
RelyingPartyID *string `json:"relyingPartyId,omitempty"` // 추가
|
||||
Metadata map[string]any `json:"metadata,omitempty"`
|
||||
Tenant *Tenant `json:"tenant,omitempty"`
|
||||
ManageableTenants []Tenant `json:"manageableTenants,omitempty"` // 추가: 관리 가능한 테넌트 목록
|
||||
|
||||
@@ -87,7 +87,7 @@ func (m *AsyncMockUserRepo) Update(ctx context.Context, user *domain.User) error
|
||||
}
|
||||
return args.Error(0)
|
||||
}
|
||||
func (m *AsyncMockUserRepo) Delete(ctx context.Context, id string) error { return nil }
|
||||
func (m *AsyncMockUserRepo) Delete(ctx context.Context, id string) error { return nil }
|
||||
func (m *AsyncMockUserRepo) FindByEmail(ctx context.Context, email string) (*domain.User, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
@@ -119,7 +119,6 @@ func (m *MockUserRepository) FindTenantIDByLoginID(ctx context.Context, loginID
|
||||
}
|
||||
|
||||
type MockKetoOutboxRepository struct {
|
||||
|
||||
mock.Mock
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,9 @@ export default defineConfig({
|
||||
|
||||
/* Run your local dev server before starting the tests */
|
||||
webServer: {
|
||||
command: process.env.CI ? "npm run build && npm run preview -- --port 5174" : "npm run dev -- --port 5174",
|
||||
command: process.env.CI
|
||||
? "npm run build && npm run preview -- --port 5174"
|
||||
: "npm run dev -- --port 5174",
|
||||
url: "http://localhost:5174",
|
||||
reuseExistingServer: !process.env.CI,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user