venue_test.go 421 B

123456789101112131415161718192021222324
  1. package service
  2. import (
  3. "testing"
  4. "go-common/app/service/openplatform/ticket-item/model"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestVenueSearch(t *testing.T) {
  8. Convey("VenueSearch", t, func() {
  9. param := &model.VenueSearchParam{
  10. ID: 1,
  11. PageParam: model.PageParam{
  12. Pn: 1,
  13. Ps: 10,
  14. },
  15. }
  16. res, err := s.VenueSearch(ctx, param)
  17. So(err, ShouldBeNil)
  18. So(res, ShouldNotBeNil)
  19. })
  20. }