case_mc_test.go 439 B

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