Skip to content

Commit

Permalink
test(middleware): update logger middleware unit test after removal of…
Browse files Browse the repository at this point in the history
… user ip address from log
  • Loading branch information
jeamon committed Nov 9, 2023
1 parent 00cf268 commit 2f55c3f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests.middlewares_test.go
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 2f55c3f

Please sign in to comment.