新增撞车订单人工退款

This commit is contained in:
yml2213
2026-07-31 21:57:35 +08:00
parent 8c2431c4f2
commit 9511b580e4
13 changed files with 516 additions and 20 deletions
@@ -23,3 +23,25 @@ func TestDailyDateKey(t *testing.T) {
})
}
}
func TestPayBizTypesIncludeMohongPay(t *testing.T) {
values := map[string]bool{}
for _, item := range payBizTypes() {
values[item] = true
}
for _, want := range []string{"order_pay", "mohong_pay"} {
if !values[want] {
t.Fatalf("payBizTypes missing %s", want)
}
}
}
func TestRefundBizTypesIncludeMohongRefund(t *testing.T) {
values := map[string]bool{}
for _, item := range refundBizTypes() {
values[item] = true
}
if !values["mohong_refund"] {
t.Fatal("refundBizTypes missing mohong_refund")
}
}