From 8f5ee9d710c75465e6883fd9e363147f9df8751c Mon Sep 17 00:00:00 2001 From: Bruno Paz Date: Wed, 30 Jun 2021 21:22:33 +0100 Subject: [PATCH] fix: tests --- logger_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logger_test.go b/logger_test.go index 0cf3da2..0240ee1 100644 --- a/logger_test.go +++ b/logger_test.go @@ -33,7 +33,7 @@ func TestZapLogger(t *testing.T) { assert.Equal(t, 1, logs.Len()) assert.Equal(t, int64(200), logFields["status"]) - assert.NotNil(t, logFields["time"]) + assert.NotNil(t, logFields["latency"]) assert.Equal(t, "GET /something", logFields["request"]) assert.NotNil(t, logFields["host"]) assert.NotNil(t, logFields["size"])