go-common/app/job/main/mcn/service/recommend_test.go
2019-04-22 18:49:16 +08:00

28 lines
643 B
Go

package service
import (
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestServiceMcnRecommendCron(t *testing.T) {
convey.Convey("McnRecommendCron", t, func(ctx convey.C) {
ctx.Convey("When everything goes positive", func(ctx convey.C) {
s.McnRecommendCron()
ctx.Convey("No return values", func(ctx convey.C) {
})
})
})
}
func TestServiceDealFailRecommendCron(t *testing.T) {
convey.Convey("DealFailRecommendCron", t, func(ctx convey.C) {
ctx.Convey("When everything goes positive", func(ctx convey.C) {
s.DealFailRecommendCron()
ctx.Convey("No return values", func(ctx convey.C) {
})
})
})
}