mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-03-28 04:24:20 -05:00
16 lines
318 B
Go
16 lines
318 B
Go
|
|
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)
|
||
|
|
}))
|
||
|
|
}
|