mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 05:58:29 -05:00
18 lines
367 B
Go
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)
|
||
|
|
})
|
||
|
|
}
|