Skip to content

Commit

Permalink
update: int32
Browse files Browse the repository at this point in the history
  • Loading branch information
teodor-yanev committed Jan 6, 2025
1 parent 5128380 commit f20eea3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/providers/github/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
},
)

Expand Down

0 comments on commit f20eea3

Please sign in to comment.