mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-10 09:18:30 +00:00
test(opencode): fix external form exercise
This commit is contained in:
parent
9f9770a24c
commit
42ab7669dd
1 changed files with 1 additions and 1 deletions
|
|
@ -849,7 +849,7 @@ const scenarios: Scenario[] = [
|
|||
check(typeof body.data.id === "string", "form create should return an ID")
|
||||
array(body.data.fields)
|
||||
object(body.data.fields[0])
|
||||
check(body.data.fields[0].type === "link", "form create should preserve the link field")
|
||||
check(body.data.fields[0].type === "external", "form create should preserve the external field")
|
||||
}),
|
||||
http.protected
|
||||
.get("/api/session/{sessionID}/form/{formID}", "v2.session.form.get")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue