bilibili-backup/app/service/main/push/dao/redis_test.go

16 lines
251 B
Go
Raw Normal View History

2019-04-22 10:59:20 +08:00
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)
}))
}