diff --git a/internal/web/uploads_spots_handler_test.go b/internal/web/uploads_spots_handler_test.go index c758016..fac8d71 100644 --- a/internal/web/uploads_spots_handler_test.go +++ b/internal/web/uploads_spots_handler_test.go @@ -62,11 +62,11 @@ func TestUploadStatus_ASpotShowsTheWordsJustBeforeIt(t *testing.T) { app, _ := newUploadApp(t, audioOK, 200<<20) id := seedUpload(t, userID, "m", "done", "Synthetic transcript.") setReconciliation(t, id, `{"status":"reconciled","base":"a","alt":"b","reconciler":"c","disputes":1,"changed":1, - "contested":[{"seconds":2640,"base":"special","alt":"CAMT","used":"alt","unsure":false,"before":"vi skickar in ett"}]}`) + "contested":[{"seconds":2640,"base":"vanligt","alt":"KORT","used":"alt","unsure":false,"before":"vi skickar in ett"}]}`) b := body(t, do(t, app, get("/uploads/"+id+"/status"))) assert.Contains(t, b, "vi skickar in ett", "the words before the spot are how a reader finds it in the audio") - assert.Contains(t, b, "special") - assert.Contains(t, b, "CAMT") + assert.Contains(t, b, "vanligt") + assert.Contains(t, b, "KORT") }