jobs_test.go 263 B

12345678910111213141516
  1. package job
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestDao_Job(t *testing.T) {
  8. Convey("test job", t, WithDao(func(d *Dao) {
  9. data, err := d.Jobs(context.TODO())
  10. So(err, ShouldBeNil)
  11. Printf("%+v", data)
  12. }))
  13. }