pendant_redis_test.go 437 B

12345678910111213141516171819202122
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func Test_DelPKGCache(t *testing.T) {
  8. Convey("return someting", t, func() {
  9. err := d.DelPKGCache(context.Background(), []int64{22, 11})
  10. So(err, ShouldBeNil)
  11. })
  12. }
  13. func Test_DelEquipsCache(t *testing.T) {
  14. Convey("return someting", t, func() {
  15. err := d.DelEquipsCache(context.Background(), []int64{22, 11})
  16. So(err, ShouldBeNil)
  17. })
  18. }