Skip to content

Commit

Permalink
init_test.go: fixate timezone for tests. (#207)
Browse files Browse the repository at this point in the history
All tests that deals with dates expects the timezone to be in America/New_York.
  • Loading branch information
pnx authored Apr 13, 2023
1 parent 2a31f6a commit bb75101
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions init_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
package eos

import (
"time"

"github.com/streamingfast/logging"
)

func init() {
logging.InstantiateLoggers()

time.Local, _ = time.LoadLocation("America/New_York")
}

0 comments on commit bb75101

Please sign in to comment.