Add user info in tweet
This commit is contained in:
parent
49baceb5b4
commit
f99c2aaa1f
2 changed files with 11 additions and 2 deletions
|
|
@ -19,6 +19,12 @@ func TestGetTweets(t *testing.T) {
|
|||
if tweet.ID == "" {
|
||||
t.Error("Expected tweet ID is not empty")
|
||||
}
|
||||
if tweet.UserID == "" {
|
||||
t.Error("Expected tweet UserID is not empty")
|
||||
}
|
||||
if tweet.Username == "" {
|
||||
t.Error("Expected tweet Username is not empty")
|
||||
}
|
||||
if tweet.PermanentURL == "" {
|
||||
t.Error("Expected tweet PermanentURL is not empty")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue