diff --git a/internal/web/uploads_language_handler_test.go b/internal/web/uploads_language_handler_test.go index 6f5192a..c96bc33 100644 --- a/internal/web/uploads_language_handler_test.go +++ b/internal/web/uploads_language_handler_test.go @@ -109,7 +109,7 @@ func TestUploadPost_ALanguageOutsideTheClosedSetIsRefusedBeforeAnythingIsSpooled rows, err := newStore(t).ListUploads(context.Background(), userID) require.NoError(t, err) assert.Empty(t, rows, "and must leave no row") - assert.Contains(t, body(t, rec), "language") + assert.Contains(t, body(t, rec), "Choose a language from the list.") }) } }