diff --git a/modules/log/logger_impl_test.go b/modules/log/logger_impl_test.go index 59276a83f4..d5b0a71497 100644 --- a/modules/log/logger_impl_test.go +++ b/modules/log/logger_impl_test.go @@ -4,6 +4,7 @@ package log import ( + "context" "testing" "github.com/stretchr/testify/assert" @@ -18,7 +19,7 @@ func TestLog(t *testing.T) { Level: INFO, }) - logger := NewLoggerWithWriters(t.Context(), "test", bufferWriter) + logger := NewLoggerWithWriters(context.Background(), "test", bufferWriter) testGeneric(logger, "I'm the generic value!") logger.Close()