Fix profile test

This commit is contained in:
Alexander Sheiko 2020-12-22 10:25:20 +02:00
parent c9ba00cad7
commit 8620b0a880

View file

@ -13,15 +13,15 @@ func TestGetProfile(t *testing.T) {
joined := time.Date(2007, 02, 20, 14, 35, 54, 0, loc) joined := time.Date(2007, 02, 20, 14, 35, 54, 0, loc)
sample := Profile{ sample := Profile{
Avatar: "https://pbs.twimg.com/profile_images/1308010958862905345/-SGZioPb_normal.jpg", Avatar: "https://pbs.twimg.com/profile_images/1308010958862905345/-SGZioPb_normal.jpg",
Banner: "https://pbs.twimg.com/profile_banners/783214/1604501727", Banner: "https://pbs.twimg.com/profile_banners/783214/1608559533",
Biography: "What's happening!?", Biography: "this year was not it",
// Birthday: "March 21", // Birthday: "March 21",
IsPrivate: false, IsPrivate: false,
IsVerified: true, IsVerified: true,
Joined: &joined, Joined: &joined,
Location: "everywhere", Location: "everywhere",
Name: "Twitter", Name: "Twitter",
PinnedTweetIDs: []string{}, PinnedTweetIDs: []string{"1341069705889673217"},
URL: "https://twitter.com/Twitter", URL: "https://twitter.com/Twitter",
UserID: "783214", UserID: "783214",
Username: "Twitter", Username: "Twitter",