Skip to content

Commit

Permalink
fix: wrong params leads to failing test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasVanHaaren committed Aug 7, 2024
1 parent 14fe9e5 commit 9886b91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uploader/uploader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func TestUpload_Run(t *testing.T) {

for _, tc := range testCases {
if tc.mockUploadBOM.enable {
mockDTrack.EXPECT().UploadBOM(ctx, tc.mockUploadBOM.projectName, tc.mockUploadBOM.projectVersion, tc.mockUploadBOM.projectName, tc.mockUploadBOM.projectVersion, gomock.Any()).Return(tc.mockUploadBOM.err)
mockDTrack.EXPECT().UploadBOM(ctx, tc.mockUploadBOM.projectName, tc.mockUploadBOM.projectVersion, tc.mockUploadBOM.parentName, tc.mockUploadBOM.parentVersion, gomock.Any()).Return(tc.mockUploadBOM.err)
}
if tc.mockAddTagsToProject.enable {
mockDTrack.EXPECT().AddTagsToProject(ctx, tc.mockAddTagsToProject.projectName, tc.mockAddTagsToProject.projectVersion, tc.mockAddTagsToProject.projectTags).Return(tc.mockAddTagsToProject.err)
Expand Down

0 comments on commit 9886b91

Please sign in to comment.