memcache_test.go 443 B

12345678910111213141516171819202122
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func Test_DelOpinionCache(t *testing.T) {
  8. Convey("should return err be nil", t, func() {
  9. err := d.DelOpinionCache(context.TODO(), 27517340)
  10. So(err, ShouldBeNil)
  11. })
  12. }
  13. func TestDaoDelJuryInfoCache(t *testing.T) {
  14. Convey("should return err be nil", t, func() {
  15. err := d.DelJuryInfoCache(context.TODO(), 27517340)
  16. So(err, ShouldBeNil)
  17. })
  18. }