go-common/app/interface/main/space/service/coin_test.go

19 lines
358 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package service
import (
"context"
"testing"
. "github.com/smartystreets/goconvey/convey"
)
func TestService_CoinVideo(t *testing.T) {
Convey("test coin video", t, WithService(func(s *Service) {
mid := int64(0)
vmid := int64(88889018)
data, err := s.CoinVideo(context.Background(), mid, vmid)
So(err, ShouldBeNil)
Printf("%+v", data)
}))
}