go-common/app/interface/main/account/service/vip/coupon_test.go

18 lines
373 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package vip
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
// go test -test.v -test.run TestServiceCouponsForPanel
func TestServiceCouponsForPanel(t *testing.T) {
Convey("TestServiceCouponsForPanel", t, func() {
res, err := s.CouponsForPanel(context.TODO(), int64(1), int64(96), "pc")
t.Logf("%v", res)
So(err, ShouldBeNil)
})
}