diff --git a/receiver/githubreceiver/internal/scraper/githubscraper/github_scraper_test.go b/receiver/githubreceiver/internal/scraper/githubscraper/github_scraper_test.go index 991cb2d30ed9..d712f5093fe5 100644 --- a/receiver/githubreceiver/internal/scraper/githubscraper/github_scraper_test.go +++ b/receiver/githubreceiver/internal/scraper/githubscraper/github_scraper_test.go @@ -148,7 +148,7 @@ func TestScrape(t *testing.T) { contribs: [][]*github.Contributor{ { { - ID: github.Int64(1), + ID: github.Ptr(int64(1)), }, }, }, diff --git a/receiver/githubreceiver/internal/scraper/githubscraper/helpers_test.go b/receiver/githubreceiver/internal/scraper/githubscraper/helpers_test.go index 38e646d94e94..e7341ef73066 100644 --- a/receiver/githubreceiver/internal/scraper/githubscraper/helpers_test.go +++ b/receiver/githubreceiver/internal/scraper/githubscraper/helpers_test.go @@ -685,10 +685,10 @@ func TestGetContributors(t *testing.T) { contribResponse: contribResponse{ contribs: [][]*github.Contributor{{ { - ID: github.Int64(1), + ID: github.Ptr(int64(1)), }, { - ID: github.Int64(2), + ID: github.Ptr(int64(2)), }, }}, responseCode: http.StatusOK,