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
414 B
22 lines
414 B
package dao |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func Test_Ping(t *testing.T) { |
|
Convey("ping mc ", t, func() { |
|
err := d.Ping(context.Background()) |
|
So(err, ShouldBeNil) |
|
}) |
|
} |
|
|
|
func Test_ReportsCacheByMids(t *testing.T) { |
|
Convey("ReportsCacheByMids", t, func() { |
|
_, _, err := d.ReportsCacheByMids(context.Background(), []int64{0, 1}) |
|
So(err, ShouldBeNil) |
|
}) |
|
}
|
|
|