From 9886b91b5a6f2cd12cb0f6014a05c690ef880de3 Mon Sep 17 00:00:00 2001 From: LucasVanHaaren <29121316+LucasVanHaaren@users.noreply.github.com> Date: Wed, 7 Aug 2024 10:29:06 +0200 Subject: [PATCH] fix: wrong params leads to failing test suite --- uploader/uploader_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uploader/uploader_test.go b/uploader/uploader_test.go index 0e867f6..4197599 100644 --- a/uploader/uploader_test.go +++ b/uploader/uploader_test.go @@ -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)