guest_test.go 399 B

12345678910111213141516171819202122
  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 TestGuestSearch(t *testing.T) {
  8. Convey("GuestSearch", t, func() {
  9. param := &model.GuestSearchParam{
  10. Keyword: "1",
  11. Ps: 10,
  12. Pn: 1,
  13. }
  14. res, err := s.GuestSearch(ctx, param)
  15. So(err, ShouldBeNil)
  16. So(res, ShouldNotBeNil)
  17. })
  18. }