weight_test.go 318 B

123456789101112131415
  1. package task
  2. import (
  3. "context"
  4. . "github.com/smartystreets/goconvey/convey"
  5. "testing"
  6. )
  7. func TestDao_GetWeightRedis(t *testing.T) {
  8. Convey("CheckChannelReview", t, WithDao(func(d *Dao) {
  9. m, err := d.GetWeightRedis(context.Background(), []int64{10098217})
  10. So(err, ShouldBeNil)
  11. So(m, ShouldNotBeNil)
  12. }))
  13. }