Initial commit: breakpilot-core - Shared Infrastructure
Docker Compose with 24+ services: - PostgreSQL (PostGIS), Valkey, MinIO, Qdrant - Vault (PKI/TLS), Nginx (Reverse Proxy) - Backend Core API, Consent Service, Billing Service - RAG Service, Embedding Service - Gitea, Woodpecker CI/CD - Night Scheduler, Health Aggregator - Jitsi (Web/XMPP/JVB/Jicofo), Mailpit Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
15
consent-service/internal/services/test_helpers.go
Normal file
15
consent-service/internal/services/test_helpers.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package services
|
||||
|
||||
// ValidationError represents a validation error in tests
|
||||
// This is a shared test helper type used across multiple test files
|
||||
type ValidationError struct {
|
||||
Field string
|
||||
Message string
|
||||
}
|
||||
|
||||
func (e *ValidationError) Error() string {
|
||||
if e.Field != "" {
|
||||
return e.Field + ": " + e.Message
|
||||
}
|
||||
return e.Message
|
||||
}
|
||||
Reference in New Issue
Block a user