sync_video_test.go 397 B

123456789101112131415161718192021
  1. package ugc
  2. import (
  3. "testing"
  4. "go-common/app/job/main/tv/model/ugc"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestService_SyncLic(t *testing.T) {
  8. Convey("TestService_SyncLic", t, WithService(func(s *Service) {
  9. err := s.syncLic(10099174, &ugc.SimpleArc{
  10. AID: 10099174,
  11. Title: "test",
  12. Duration: 400,
  13. Cover: "testCover",
  14. })
  15. So(err, ShouldBeNil)
  16. }))
  17. }