diff --git a/internal/utils/logger/logger_test.go b/internal/utils/logger/logger_test.go index 395d348f..8288f0d6 100644 --- a/internal/utils/logger/logger_test.go +++ b/internal/utils/logger/logger_test.go @@ -159,10 +159,10 @@ func TestLogger(t *testing.T) { l.App.Info().Msg("test") - l.AuditLoginFailure("test", "test", "test", "test") + l.AuditLoginFailure("test_nop", "test_nop", "test_nop", "test_nop") assert.NotEmpty(t, buf.String()) - assert.Equal(t, 81, buf.Len()) // it's the length of the test log entry + assert.NotContains(t, "test_nop", buf.String()) }, }, }