diff --git a/cmd/tapir/e2e_upload_test.go b/cmd/tapir/e2e_upload_test.go index 0cf9ecc..c4bf649 100644 --- a/cmd/tapir/e2e_upload_test.go +++ b/cmd/tapir/e2e_upload_test.go @@ -82,9 +82,9 @@ func TestE2E_UploadTranscribeAndChat(t *testing.T) { go worker.Run(ctx) app := &web.App{ Store: st, Identity: st, Auth: web.StubAuth{U: web.User{Subject: "e2e"}}, - Uploads: intake, UploadLimits: uploadLimits(cfg), - Chat: buildChat(cfg), UploadChatMaxChars: cfg.MaxUploadedTranscriptChars, + Chat: buildChat(cfg), } + wireUploads(app, cfg, intake) // the same wiring cmdServe uses srv := httptest.NewServer(app.Router()) t.Cleanup(srv.Close) noRedirect := &http.Client{CheckRedirect: func(*http.Request, []*http.Request) error { return http.ErrUseLastResponse }}