test(form): update external field fixtures

This commit is contained in:
Aiden Cline 2026-07-09 19:15:25 -05:00
parent ad0227c9dd
commit 8b53c84e0a
2 changed files with 7 additions and 2 deletions

View file

@ -10,7 +10,12 @@ function ok<T>(data: T) {
}
function form(id: string, sessionID: string): FormInfo {
return { id, sessionID, title: "Input requested", fields: [] }
return {
id,
sessionID,
title: "Input requested",
fields: [{ type: "external", url: "https://example.com/form" }],
}
}
function formCreated(info: FormInfo): V2Event {

View file

@ -840,7 +840,7 @@ const scenarios: Scenario[] = [
headers: ctx.headers(),
body: {
title: "External form",
fields: [{ type: "link", url: "https://example.com/form" }],
fields: [{ type: "external", url: "https://example.com/form" }],
},
}))
.json(200, (body) => {