bilibili-backup/app/interface/main/web-show/dao/job/jobs_test.go

17 lines
263 B
Go
Raw Normal View History

2019-04-22 10:59:20 +08:00
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)
}))
}