refactor: use shared mocks for tests
This commit is contained in:
@@ -57,10 +57,7 @@ type serviceImpl struct {
|
||||
repo repository
|
||||
aeroSvc pbaero.PrimaryClient
|
||||
billingSvc billing.Service
|
||||
// fs mirrors network membership into humans/{humanId}.networks so
|
||||
// Firestore security rules can check membership at rule-eval time.
|
||||
// May be nil in services that never mutate membership (pusher).
|
||||
fs *firestore.Client
|
||||
fs *firestore.Client
|
||||
}
|
||||
|
||||
func NewService(pool *pgxpool.Pool, aeroSvc pbaero.PrimaryClient, billingSvc billing.Service, fs *firestore.Client) Service {
|
||||
|
||||
Reference in New Issue
Block a user