go-common/app/admin/main/videoup/dao/task/weight_test.go

16 lines
318 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package task
import (
"context"
. "github.com/smartystreets/goconvey/convey"
"testing"
)
func TestDao_GetWeightRedis(t *testing.T) {
Convey("CheckChannelReview", t, WithDao(func(d *Dao) {
m, err := d.GetWeightRedis(context.Background(), []int64{10098217})
So(err, ShouldBeNil)
So(m, ShouldNotBeNil)
}))
}