go-common/app/job/main/credit/dao/case_mc_test.go
2019-04-22 18:49:16 +08:00

23 lines
439 B
Go

package dao
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestDaoDelCaseInfoCache(t *testing.T) {
Convey("should return err be nil", t, func() {
err := d.DelCaseInfoCache(context.TODO(), 12)
So(err, ShouldBeNil)
})
}
func TestDaoDelVoteCaseCache(t *testing.T) {
Convey("should return err be nil", t, func() {
err := d.DelVoteCaseCache(context.TODO(), 12, 11)
So(err, ShouldBeNil)
})
}