Commit 8995f8e1 authored by Alessio Caiazza's avatar Alessio Caiazza

Fix TestAccessLogFormatter_Format timezone dependency

parent 948e94fb
......@@ -43,7 +43,7 @@ func TestAccessLogFormatter_Format(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
f := &accessLogFormatter{clock: &StubClock{time.Unix(1515283200, 0)}}
f := &accessLogFormatter{clock: &StubClock{time.Unix(1515283200, 0).UTC()}}
got, err := f.Format(tt.entry)
if err != nil {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment