jointly_test.go 384 B

12345678910111213141516171819202122
  1. package dao
  2. import (
  3. "context"
  4. "testing"
  5. "time"
  6. "github.com/smartystreets/goconvey/convey"
  7. )
  8. func TestDaoJointlys(t *testing.T) {
  9. var (
  10. c = context.TODO()
  11. now = time.Now().Unix()
  12. )
  13. convey.Convey("DaoJointlys", t, func(ctx convey.C) {
  14. _, err := d.Jointlys(c, now)
  15. ctx.Convey("Error should be nil", func(ctx convey.C) {
  16. ctx.So(err, convey.ShouldBeNil)
  17. })
  18. })
  19. }