You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
348 B
20 lines
348 B
package web |
|
|
|
import ( |
|
"context" |
|
"testing" |
|
|
|
. "github.com/smartystreets/goconvey/convey" |
|
) |
|
|
|
func TestService_Full(t *testing.T) { |
|
Convey("test Full", t, WithService(func(s *Service) { |
|
var ( |
|
pn int64 = 1 |
|
ps int64 = 10 |
|
) |
|
res, err := s.FullShort(context.Background(), pn, ps, "") |
|
So(err, ShouldBeNil) |
|
So(res, ShouldNotBeNil) |
|
})) |
|
}
|
|
|