go-common/app/job/main/mcn/service/recommend_test.go

28 lines
643 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
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) {
})
})
})
}