You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
423 B
22 lines
423 B
package service |
|
|
|
import ( |
|
"testing" |
|
|
|
"go-common/app/job/main/vip/model" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
//go test -test.v -test.run TestCouponNotify |
|
func TestCouponNotify(t *testing.T) { |
|
Convey("TestCouponNotify ", t, func() { |
|
o := &model.VipPayOrderNewMsg{ |
|
OrderNo: "1807211806450011799", |
|
Status: model.SUCCESS, |
|
Mid: 1, |
|
} |
|
err := s.CouponNotify(c, o) |
|
So(err, ShouldBeNil) |
|
}) |
|
}
|
|
|