bilibili-backup/app/admin/main/apm/dao/ecode_test.go
2019-04-22 02:59:20 +00:00

18 lines
337 B
Go

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)
})
}