fix: use logger directly

This commit is contained in:
2022-06-17 12:43:56 +02:00
parent 4432fd9304
commit 85d11a760c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ func TestServer(t *testing.T) {
if tt.args.store != nil {
store = tt.args.store(t)
}
server := New(store, tt.args.url, logger.Logger)
server := New(store, tt.args.url, logger)
server.(*Server).now = func() time.Time {
return time.Date(2021, 11, 25, 7, 43, 12, 0, time.UTC)
}