package gateway import ( "testing" "github.com/tech/sendico/gateway/mntx/storage/model" mntxv1 "github.com/tech/sendico/pkg/proto/gateway/mntx/v1" ) func TestPayoutStatusToProto_NeedsAttentionMapsToFailed(t *testing.T) { if got, want := payoutStatusToProto(model.PayoutStatusNeedsAttention), mntxv1.PayoutStatus_PAYOUT_STATUS_FAILED; got != want { t.Fatalf("unexpected proto status: got=%v want=%v", got, want) } }