go-common/app/interface/main/space/dao/bangumi_test.go
2019-04-22 18:49:16 +08:00

18 lines
367 B
Go

package dao
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestDao_BangumiList(t *testing.T) {
convey.Convey("test bangumi list", t, func(ctx convey.C) {
data, count, err := d.BangumiList(context.Background(), 908085, 1, 10)
convey.So(err, convey.ShouldBeNil)
convey.Printf("%+v", data)
convey.Printf("%d", count)
})
}