go-common/app/job/main/tv/service/ugc/sync_video_test.go
2019-04-22 18:49:16 +08:00

22 lines
397 B
Go

package ugc
import (
"testing"
"go-common/app/job/main/tv/model/ugc"
. "github.com/smartystreets/goconvey/convey"
)
func TestService_SyncLic(t *testing.T) {
Convey("TestService_SyncLic", t, WithService(func(s *Service) {
err := s.syncLic(10099174, &ugc.SimpleArc{
AID: 10099174,
Title: "test",
Duration: 400,
Cover: "testCover",
})
So(err, ShouldBeNil)
}))
}