You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
397 B
21 lines
397 B
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) |
|
})) |
|
}
|
|
|