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.
17 lines
337 B
17 lines
337 B
package dao |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
"github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestDaoGetCodes(t *testing.T) { |
|
convey.Convey("GetCodes", t, func() { |
|
res, err := d.GetCodes(context.Background(), "0", "20000") |
|
t.Logf("res:%+v", res) |
|
convey.So(err, convey.ShouldBeNil) |
|
convey.So(res, convey.ShouldNotBeNil) |
|
}) |
|
}
|
|
|