Fix profile test

This commit is contained in:
Alexander Sheiko 2020-08-10 14:06:08 +03:00
parent 0381235e61
commit b2f87b1d9d

View file

@ -12,14 +12,14 @@ func TestGetProfile(t *testing.T) {
loc := time.FixedZone("UTC", 0) loc := time.FixedZone("UTC", 0)
joined := time.Date(2007, 02, 20, 6, 35, 0, 0, loc) joined := time.Date(2007, 02, 20, 6, 35, 0, 0, loc)
sample := Profile{ sample := Profile{
Avatar: "https://pbs.twimg.com/profile_images/1270500941498912768/W-80pLvu_400x400.jpg", Avatar: "https://pbs.twimg.com/profile_images/1288505768673603584/yTzT2JgU_400x400.png",
Banner: "https://pbs.twimg.com/profile_banners/783214/1592864899/1500x500", Banner: "https://pbs.twimg.com/profile_banners/783214/1596041768/1500x500",
Biography: "#BlackTransLivesMatter\n#BlackLivesMatter", Biography: "bye",
Birthday: "March 21", Birthday: "March 21",
IsPrivate: false, IsPrivate: false,
IsVerified: true, IsVerified: true,
Joined: &joined, Joined: &joined,
Location: "Everywhere", Location: "Space",
Name: "Twitter", Name: "Twitter",
URL: "https://twitter.com/Twitter", URL: "https://twitter.com/Twitter",
UserID: "783214", UserID: "783214",