diff --git a/acceleration/internal/api/limits_test.go b/acceleration/internal/api/limits_test.go index c942b7da8f..d553797e54 100644 --- a/acceleration/internal/api/limits_test.go +++ b/acceleration/internal/api/limits_test.go @@ -648,7 +648,7 @@ func (s *SelfHostedLimitsSuite) backend(app, organization string) *testClient { // spent records a billable request of app's, costing micros, now. func (s *SelfHostedLimitsSuite) spent(app string, micros int64) { - s.Require().NoError(s.store.Requests.Insert(context.Background(), &store.Request{ + s.Require().NoError(insertRequest(context.Background(), s.store, &store.Request{ Modality: "llm", CustomerID: app, APIKey: "key_a", Provider: "stub", Model: "stub-llm", StartedAt: time.Now(), CostMicros: micros, Billable: true, Success: true, }))