redis_test.go 259 B

123456789101112131415
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestDaoSetQidCache(t *testing.T) {
  8. convey.Convey("SetQidCache", t, func() {
  9. err := d.SetQidCache(context.TODO(), 0)
  10. convey.So(err, convey.ShouldBeNil)
  11. })
  12. }