platform_test.go 404 B

12345678910111213141516
  1. package service
  2. import (
  3. "context"
  4. "testing"
  5. "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestPlatformChallCount(t *testing.T) {
  8. convey.Convey("PlatformChallCount", t, func() {
  9. challCount, err := s.PlatformChallCount(context.Background(), 1, map[int8]int64{2: 11})
  10. convey.So(err, convey.ShouldBeNil)
  11. convey.So(challCount.TotalCount, convey.ShouldBeGreaterThanOrEqualTo, int32(0))
  12. })
  13. }