Skip to content

Commit 548d97f

Browse files
committed
tests: fix don't try to test logger with char size
1 parent 3d9c81d commit 548d97f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/utils/logger/logger_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,10 @@ func TestLogger(t *testing.T) {
159159

160160
l.App.Info().Msg("test")
161161

162-
l.AuditLoginFailure("test", "test", "test", "test")
162+
l.AuditLoginFailure("test_nop", "test_nop", "test_nop", "test_nop")
163163

164164
assert.NotEmpty(t, buf.String())
165-
assert.Equal(t, 81, buf.Len()) // it's the length of the test log entry
165+
assert.NotContains(t, "test_nop", buf.String())
166166
},
167167
},
168168
}

0 commit comments

Comments
 (0)