Files
go-common/app/interface/main/web-goblin/dao/web/channel_test.go
2019-04-22 18:49:16 +08:00

23 lines
388 B
Go

package web
import (
"context"
"testing"
"time"
"github.com/smartystreets/goconvey/convey"
)
func TestWebChCard(t *testing.T) {
convey.Convey("ChCard", t, func(c convey.C) {
var (
ctx = context.Background()
now = time.Now()
)
res, err := d.ChCard(ctx, now)
convey.So(err, convey.ShouldBeNil)
convey.So(res, convey.ShouldNotBeNil)
convey.Printf("%+v", res)
})
}