go-common/app/interface/main/creative/dao/archive/viewpoint_test.go

22 lines
388 B
Go
Raw Normal View History

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