go-common/app/interface/main/creative/dao/archive/viewpoint_test.go
2019-04-22 18:49:16 +08:00

22 lines
388 B
Go

package archive
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDao_ViewPoints(t *testing.T) {
var (
c = context.TODO()
)
convey.Convey("ViewPoint", t, func(ctx convey.C) {
vp, err := d.ViewPoint(c, 10106351, 10126396)
ctx.Convey("", func(ctx convey.C) {
ctx.So(err, convey.ShouldBeNil)
ctx.So(vp, convey.ShouldNotBeNil)
})
})
}