bilibili-backup/app/service/main/push/dao/redis_test.go
2019-04-22 02:59:20 +00:00

16 lines
251 B
Go

package dao
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_PingRedis(t *testing.T) {
Convey("ping redis", t, WithDao(func(d *Dao) {
err := d.pingRedis(context.Background())
So(err, ShouldBeNil)
}))
}