account_test.go 401 B

123456789101112131415161718
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. "go-common/app/interface/main/player/model"
  6. "github.com/smartystreets/goconvey/convey"
  7. )
  8. func TestDao_BlockTime(t *testing.T) {
  9. convey.Convey("error should be nill", t, func(ctx convey.C) {
  10. res, err := d.BlockTime(context.Background(), 88889069)
  11. ctx.So(err, convey.ShouldBeNil)
  12. ctx.So(res, convey.ShouldHaveSameTypeAs, &model.BlockTime{})
  13. })
  14. }