Skip to content

Commit

Permalink
added TestGetVideoList
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Jul 28, 2024
1 parent 7c04e83 commit 42c2477
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions test/api_content_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

0 comments on commit 42c2477

Please sign in to comment.