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.
20 lines
341 B
20 lines
341 B
package oplog |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestDao_QueryOpLogs(t *testing.T) { |
|
var ( |
|
c = context.TODO() |
|
dmid int64 = 1222 |
|
) |
|
Convey("QueryOpLogs", t, func() { |
|
rets, err := dao.QueryOpLogs(c, dmid) |
|
So(err, ShouldBeNil) |
|
So(len(rets), ShouldBeGreaterThan, 0) |
|
}) |
|
}
|
|
|