You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
439 B
22 lines
439 B
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) |
|
}) |
|
}
|
|
|