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.
21 lines
378 B
21 lines
378 B
package dao |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestSearchArcs(t *testing.T) { |
|
Convey("SearchArcs", t, func() { |
|
var ( |
|
keyword = "comic" |
|
ids = []int64{1, 2, 3} |
|
pn = 1 |
|
ps = 30 |
|
) |
|
err, _ := d.SearchArcs(context.Background(), keyword, ids, pn, ps) // todo:debug uat 502 |
|
So(err, ShouldBeNil) |
|
}) |
|
}
|
|
|