nav_test.go 337 B

1234567891011121314151617181920
  1. package service
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestService_Nav(t *testing.T) {
  8. Convey("test nav Nav", t, WithService(func(s *Service) {
  9. var (
  10. mid int64
  11. ck = ""
  12. )
  13. res, err := s.Nav(context.Background(), mid, ck)
  14. So(err, ShouldBeNil)
  15. So(res, ShouldNotBeNil)
  16. }))
  17. }