advance_test.go 298 B

12345678910111213141516
  1. package service
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestAdvances(t *testing.T) {
  8. Convey("test adv", t, func() {
  9. res, _, err := svr.Advances(context.TODO(), 27515260, "all", "all", 1, 20)
  10. So(err, ShouldBeNil)
  11. So(res, ShouldNotBeEmpty)
  12. })
  13. }