Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
RobiNino committed Sep 4, 2024
1 parent aec1030 commit 775a161
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artifactory/utils/commandsummary/commandsummary_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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]))
})
Expand Down

0 comments on commit 775a161

Please sign in to comment.