From f20eea3b2a2841d780e3fc8ea06bc45335df3b71 Mon Sep 17 00:00:00 2001 From: Teodor Yanev Date: Mon, 6 Jan 2025 17:42:45 +0200 Subject: [PATCH] update: int32 --- internal/providers/github/common_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/providers/github/common_test.go b/internal/providers/github/common_test.go index 4276a4cbef..e48738b753 100644 --- a/internal/providers/github/common_test.go +++ b/internal/providers/github/common_test.go @@ -476,8 +476,8 @@ func TestGetArtifactVersions(t *testing.T) { owner string artifactType string artifactName string - pageNumber int - itemsPerPage int + pageNumber int32 + itemsPerPage int32 setupMocks func(*testGitHub) expectedResult []*minderv1.ArtifactVersion expectedError error @@ -572,8 +572,8 @@ func TestGetArtifactVersions(t *testing.T) { Name: tt.artifactName, }, &testFilter{ - pageNumber: int32(tt.pageNumber), //nolint:gosec - itemsPerPage: int32(tt.itemsPerPage), //nolint:gosec + pageNumber: tt.pageNumber, + itemsPerPage: tt.itemsPerPage, }, )