mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-08 05:58:29 -05:00
17 lines
263 B
Go
17 lines
263 B
Go
|
|
package job
|
||
|
|
|
||
|
|
import (
|
||
|
|
"context"
|
||
|
|
"testing"
|
||
|
|
|
||
|
|
. "github.com/smartystreets/goconvey/convey"
|
||
|
|
)
|
||
|
|
|
||
|
|
func TestDao_Job(t *testing.T) {
|
||
|
|
Convey("test job", t, WithDao(func(d *Dao) {
|
||
|
|
data, err := d.Jobs(context.TODO())
|
||
|
|
So(err, ShouldBeNil)
|
||
|
|
Printf("%+v", data)
|
||
|
|
}))
|
||
|
|
}
|