Skip to content

Commit

Permalink
Fix xsc analytics test (jfrog#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
orz25 authored May 26, 2024
1 parent afc7409 commit 425ad8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions audit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,8 +542,8 @@ func validateAnalyticsBasicEvent(t *testing.T, output string) {
assert.NoError(t, err)

// Event creation and addition information.
assert.Equal(t, "cli", event.Product)
assert.Equal(t, 1, event.EventType)
assert.Equal(t, xscservices.CliProduct, event.Product)
assert.Equal(t, xscservices.CliEventType, event.EventType)
assert.NotEmpty(t, event.AnalyzerManagerVersion)
assert.NotEmpty(t, event.EventStatus)
// The information that was added after updating the event with the scan's results.
Expand Down

0 comments on commit 425ad8f

Please sign in to comment.