Create & Init Project...
This commit is contained in:
16
app/admin/main/workflow/service/platform_test.go
Normal file
16
app/admin/main/workflow/service/platform_test.go
Normal file
@ -0,0 +1,16 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"context"
|
||||
"testing"
|
||||
|
||||
"github.com/smartystreets/goconvey/convey"
|
||||
)
|
||||
|
||||
func TestPlatformChallCount(t *testing.T) {
|
||||
convey.Convey("PlatformChallCount", t, func() {
|
||||
challCount, err := s.PlatformChallCount(context.Background(), 1, map[int8]int64{2: 11})
|
||||
convey.So(err, convey.ShouldBeNil)
|
||||
convey.So(challCount.TotalCount, convey.ShouldBeGreaterThanOrEqualTo, int32(0))
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user