go-common/app/job/main/credit/dao/memcache_test.go

23 lines
443 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package dao
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func Test_DelOpinionCache(t *testing.T) {
Convey("should return err be nil", t, func() {
err := d.DelOpinionCache(context.TODO(), 27517340)
So(err, ShouldBeNil)
})
}
func TestDaoDelJuryInfoCache(t *testing.T) {
Convey("should return err be nil", t, func() {
err := d.DelJuryInfoCache(context.TODO(), 27517340)
So(err, ShouldBeNil)
})
}