From 775a1614224ee0e43222623de90fe55f5b5ef726 Mon Sep 17 00:00:00 2001 From: RobiNino Date: Wed, 4 Sep 2024 13:57:26 +0300 Subject: [PATCH] fix test --- artifactory/utils/commandsummary/commandsummary_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artifactory/utils/commandsummary/commandsummary_test.go b/artifactory/utils/commandsummary/commandsummary_test.go index fd43cc36e..79e96a1ff 100644 --- a/artifactory/utils/commandsummary/commandsummary_test.go +++ b/artifactory/utils/commandsummary/commandsummary_test.go @@ -156,7 +156,7 @@ func TestIndexedRecord(t *testing.T) { assert.NoError(t, err) // Verify file has been saved - indexedFilesMap, err := cs.GetIndexedDataFilesPaths() + indexedFilesMap, err := GetIndexedDataFilesPaths() assert.NoError(t, err) // Verify nested files @@ -194,7 +194,7 @@ func TestSarifMultipleReports(t *testing.T) { err = cs.RecordWithIndex(tc.originalData, tc.summaryIndex) assert.NoError(t, err) // Verify file has been saved - indexedFilesMap, err := cs.GetIndexedDataFilesPaths() + indexedFilesMap, err := GetIndexedDataFilesPaths() assert.NoError(t, err) assert.Equal(t, 2, len(indexedFilesMap[SarifReport])) })