From 696433f0b3a4a53cb1f626f8f0645b40bb5f188f Mon Sep 17 00:00:00 2001 From: gail Date: Sun, 7 Apr 2024 11:16:42 +0300 Subject: [PATCH] minor fix. --- audit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audit_test.go b/audit_test.go index 87b71b56..1126b385 100644 --- a/audit_test.go +++ b/audit_test.go @@ -543,8 +543,8 @@ func validateAnalyticsBasicEvent(t *testing.T, output string) { // Event creation and addition information. assert.Equal(t, "cli", event.Product) assert.Equal(t, 1, event.EventType) - assert.NotEmpty(t, event.EventStatus) assert.NotEmpty(t, event.AnalyzerManagerVersion) + assert.NotEmpty(t, event.EventStatus) // The information that was added after updating the event with the scan's results. assert.NotEmpty(t, event.TotalScanDuration) assert.True(t, event.TotalFindings > 0)