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.
 
 
 

18 lines
401 B

package dao
import (
"context"
"testing"
"go-common/app/interface/main/player/model"
"github.com/smartystreets/goconvey/convey"
)
func TestDao_BlockTime(t *testing.T) {
convey.Convey("error should be nill", t, func(ctx convey.C) {
res, err := d.BlockTime(context.Background(), 88889069)
ctx.So(err, convey.ShouldBeNil)
ctx.So(res, convey.ShouldHaveSameTypeAs, &model.BlockTime{})
})
}