go-common/app/job/main/videoup/dao/archive/archive_biz_test.go
2019-04-22 18:49:16 +08:00

30 lines
457 B
Go

package archive
import (
"context"
. "github.com/smartystreets/goconvey/convey"
"testing"
)
func Test_POI(t *testing.T) {
var (
c = context.TODO()
err error
)
Convey("Test_POI", t, WithDao(func(d *Dao) {
_, err = d.POI(c, 23333)
So(err, ShouldBeNil)
}))
}
func Test_Vote(t *testing.T) {
var (
c = context.TODO()
err error
)
Convey("Test_Vote", t, WithDao(func(d *Dao) {
_, err = d.Vote(c, 23333)
So(err, ShouldBeNil)
}))
}