You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

29 lines
457 B

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)
}))
}