(year, month, day int)
| 25 | ) |
| 26 | |
| 27 | func date(year, month, day int) time.Time { |
| 28 | return time.Date(year, time.Month(month), day, 0, 0, 0, 0, time.UTC) |
| 29 | } |
| 30 | |
| 31 | func newMetricsCache(t *testing.T, log slog.Logger, clock quartz.Clock, intervals metricscache.Intervals, usage bool) (*metricscache.Cache, database.Store) { |
| 32 | t.Helper() |
no outgoing calls
no test coverage detected