From 2f55c3f28cd00ccc654af630e5a50bd5a64929d5 Mon Sep 17 00:00:00 2001 From: Jerome Amon Date: Thu, 9 Nov 2023 22:42:20 +0100 Subject: [PATCH] test(middleware): update logger middleware unit test after removal of user ip address from log --- tests.middlewares_test.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tests.middlewares_test.go b/tests.middlewares_test.go index b2f74a2..4de8ff9 100644 --- a/tests.middlewares_test.go +++ b/tests.middlewares_test.go @@ -185,7 +185,6 @@ func TestAddLoggerMiddleware(t *testing.T) { zap.Uint64("request.number", 0), zap.String("request.method", "GET"), zap.String("request.path", "/v1/books"), - zap.String("request.ip", "192.0.2.1"), zap.String("request.agent", ""), zap.String("request.referer", ""), }, log.Context)