Commit 807b9069 authored by Jacob Vosmaer (GitLab)'s avatar Jacob Vosmaer (GitLab)

Merge branch 'fix/TestAccessLogFormatter_Format' into 'master'

Fix TestAccessLogFormatter_Format timezone dependency

See merge request gitlab-org/gitlab-workhorse!241
parents 75bc61a1 8995f8e1
......@@ -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