@@ -224,7 +224,7 @@ func TestIntegrationLiveFetch(t *testing.T) {
224224 CreatedAt : "2022-11-03T00:00:00.000Z" ,
225225 },
226226 cmpOpts : []cmp.Option {
227- cmpopts .IgnoreFields (profile.Profile {}, "Location" , "Website" , "UpdatedAt" , "SocialLinks" , "Fields" , "Posts" , "Unstructured" , "IsGuess" , "Confidence" , "GuessMatch" , "UTCOffset" ),
227+ cmpopts .IgnoreFields (profile.Profile {}, "AvatarURL" , " Location" , "Website" , "UpdatedAt" , "SocialLinks" , "Fields" , "Posts" , "Unstructured" , "IsGuess" , "Confidence" , "GuessMatch" , "UTCOffset" ),
228228 },
229229 },
230230 {
@@ -635,7 +635,7 @@ func TestIntegrationLiveFetch(t *testing.T) {
635635 // Name, Bio, Location are empty when auth is broken
636636 },
637637 cmpOpts : []cmp.Option {
638- cmpopts .IgnoreFields (profile.Profile {}, "Fields" , "Name" , "Bio" , "Location" , "Website" , "CreatedAt" , "UpdatedAt" , "SocialLinks" , "Posts" , "Unstructured" , "IsGuess" , "Confidence" , "GuessMatch" , "UTCOffset" ),
638+ cmpopts .IgnoreFields (profile.Profile {}, "AvatarURL" , " Fields" , "Name" , "Bio" , "Location" , "Website" , "CreatedAt" , "UpdatedAt" , "SocialLinks" , "Posts" , "Unstructured" , "IsGuess" , "Confidence" , "GuessMatch" , "UTCOffset" ),
639639 },
640640 },
641641 {
@@ -660,7 +660,7 @@ func TestIntegrationLiveFetch(t *testing.T) {
660660 Username : "mattmoor" ,
661661 },
662662 cmpOpts : []cmp.Option {
663- cmpopts .IgnoreFields (profile.Profile {}, "Fields" , "Name" , "Bio" , "Location" , "Website" , "CreatedAt" , "UpdatedAt" , "SocialLinks" , "Posts" , "Unstructured" , "IsGuess" , "Confidence" , "GuessMatch" , "UTCOffset" ),
663+ cmpopts .IgnoreFields (profile.Profile {}, "AvatarURL" , " Fields" , "Name" , "Bio" , "Location" , "Website" , "CreatedAt" , "UpdatedAt" , "SocialLinks" , "Posts" , "Unstructured" , "IsGuess" , "Confidence" , "GuessMatch" , "UTCOffset" ),
664664 },
665665 },
666666 {
@@ -685,7 +685,7 @@ func TestIntegrationLiveFetch(t *testing.T) {
685685 Username : "austen-bryan-23485a19" ,
686686 },
687687 cmpOpts : []cmp.Option {
688- cmpopts .IgnoreFields (profile.Profile {}, "Fields" , "Name" , "Bio" , "Location" , "Website" , "CreatedAt" , "UpdatedAt" , "SocialLinks" , "Posts" , "Unstructured" , "IsGuess" , "Confidence" , "GuessMatch" , "UTCOffset" ),
688+ cmpopts .IgnoreFields (profile.Profile {}, "AvatarURL" , " Fields" , "Name" , "Bio" , "Location" , "Website" , "CreatedAt" , "UpdatedAt" , "SocialLinks" , "Posts" , "Unstructured" , "IsGuess" , "Confidence" , "GuessMatch" , "UTCOffset" ),
689689 },
690690 },
691691 }
@@ -696,7 +696,8 @@ func TestIntegrationLiveFetch(t *testing.T) {
696696 // Fields, SocialLinks contain varying platform-specific data
697697 // UpdatedAt, Posts, Unstructured change with activity
698698 // UTCOffset depends on user's timezone settings
699- cmpopts .IgnoreFields (profile.Profile {}, "Bio" , "Location" , "Website" , "Fields" , "SocialLinks" , "UpdatedAt" , "Posts" , "Unstructured" , "IsGuess" , "Confidence" , "GuessMatch" , "UTCOffset" ),
699+ // AvatarURL varies by user and can change
700+ cmpopts .IgnoreFields (profile.Profile {}, "AvatarURL" , "Bio" , "Location" , "Website" , "Fields" , "SocialLinks" , "UpdatedAt" , "Posts" , "Unstructured" , "IsGuess" , "Confidence" , "GuessMatch" , "UTCOffset" ),
700701 }
701702
702703 for _ , tt := range tests {
0 commit comments