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

23 lines
439 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 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)
})
}