bilibili-backup/app/job/main/mcn/service/mcn_test.go

28 lines
631 B
Go
Raw Permalink Normal View History

2019-04-22 10:59:20 +08:00
package service
import (
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestServiceUpMcnSignStateCron(t *testing.T) {
convey.Convey("UpMcnSignStateCron", t, func(ctx convey.C) {
ctx.Convey("When everything goes positive", func(ctx convey.C) {
s.UpMcnSignStateCron()
ctx.Convey("No return values", func(ctx convey.C) {
})
})
})
}
func TestServiceUpExpirePayCron(t *testing.T) {
convey.Convey("UpExpirePayCron", t, func(ctx convey.C) {
ctx.Convey("When everything goes positive", func(ctx convey.C) {
s.UpExpirePayCron()
ctx.Convey("No return values", func(ctx convey.C) {
})
})
})
}