go-common/app/interface/main/web/service/nav_test.go
2019-04-22 18:49:16 +08:00

21 lines
337 B
Go

package service
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestService_Nav(t *testing.T) {
Convey("test nav Nav", t, WithService(func(s *Service) {
var (
mid int64
ck = ""
)
res, err := s.Nav(context.Background(), mid, ck)
So(err, ShouldBeNil)
So(res, ShouldNotBeNil)
}))
}