feat: upload audio, get a private Swedish transcript, discuss it (#33, ADR-033) #39
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user