elec_test.go 410 B

123456789101112131415161718192021
  1. package service
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestService_ElecShow(t *testing.T) {
  8. Convey("test elec ElecShow", t, WithService(func(s *Service) {
  9. var (
  10. mid int64 = 27515256
  11. aid int64 = 5464686
  12. loginID int64
  13. )
  14. res, err := s.ElecShow(context.Background(), mid, aid, loginID)
  15. So(err, ShouldBeNil)
  16. So(res, ShouldNotBeNil)
  17. }))
  18. }