Files
go-common/app/service/main/vip/dao/jointly_test.go
2019-04-22 18:49:16 +08:00

23 lines
384 B
Go

package dao
import (
"context"
"testing"
"time"
"github.com/smartystreets/goconvey/convey"
)
func TestDaoJointlys(t *testing.T) {
var (
c = context.TODO()
now = time.Now().Unix()
)
convey.Convey("DaoJointlys", t, func(ctx convey.C) {
_, err := d.Jointlys(c, now)
ctx.Convey("Error should be nil", func(ctx convey.C) {
ctx.So(err, convey.ShouldBeNil)
})
})
}