go-common/app/interface/main/space/dao/bangumi_test.go

18 lines
367 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
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)
})
}