Files
pulse-api/internal/service/finance_test.go
Cosmo e782367ef0
All checks were successful
CI / ci (push) Successful in 36s
test: add finance handler, service, repository tests
2026-03-01 05:12:07 +00:00

16 lines
237 B
Go

package service
import (
"testing"
)
func TestNewFinanceService(t *testing.T) {
svc := NewFinanceService(nil)
if svc == nil {
t.Error("expected non-nil FinanceService")
}
if svc.repo != nil {
t.Error("expected nil repo")
}
}