diff --git a/internal/usage/usage_test.go b/internal/usage/usage_test.go index c1ea2a65..12bcd54f 100644 --- a/internal/usage/usage_test.go +++ b/internal/usage/usage_test.go @@ -235,6 +235,9 @@ func TestReasoningReplyTimedByItsAnswer(t *testing.T) { var lr []Row for _, r := range recs { rows.addRow(Row{Record: r}) + // LedgerSeries buckets today by the clock, so the timeline's rows + // are made now + r.Time = time.Now() lr = append(lr, Row{Record: r}) } if rows.Timed != 6 || rows.DecodeMs != ms || rows.DecodeOut != out {