diff --git a/test/api_content_test.go b/test/api_content_test.go index 3d890ad..c74b112 100644 --- a/test/api_content_test.go +++ b/test/api_content_test.go @@ -11,9 +11,23 @@ func TestCreatorInfo(t *testing.T) { t.Fatalf(err.Error()) } c.IsDebug() - resp, err := c.CreatorInfo() + /*resp, err := c.CreatorInfo() + if err != nil { + t.Fatalf(err.Error()) + }*/ + log.Println("resp ", c.IsDebug()) +} + + +func TestGetVideoList( t *testing.T){ + c, err := GetTikTok() + if err != nil { + t.Fatalf(err.Error()) + } + c.IsDebug() + resp, err := c.GetVideoList(int64(20)) if err != nil { t.Fatalf(err.Error()) } log.Println("resp ", resp) -} +} \ No newline at end of file