diff --git a/exchanges/okx/okx_test.go b/exchanges/okx/okx_test.go index 20b05cd6987..a3521002195 100644 --- a/exchanges/okx/okx_test.go +++ b/exchanges/okx/okx_test.go @@ -205,7 +205,7 @@ func TestGetBlockTrade(t *testing.T) { assert.Positive(t, trade.Price, "Price should have a positive value") assert.Positive(t, trade.Size, "Size should have a positive value") assert.Contains(t, []order.Side{order.Buy, order.Sell}, trade.Side, "Side should be a side") - assert.WithinRange(t, trade.Timestamp.Time(), time.Now().Add(time.Hour*-24*7), time.Now(), "Timestamp should be within last 7 days") + assert.WithinRange(t, trade.Timestamp.Time(), time.Now().Add(time.Hour*-24*90), time.Now(), "Timestamp should be within last 90 days") } testexch.UpdatePairsOnce(t, ok)