test: update test_build_vertex_schema to expect items on bare arrays

The process_items fix now ensures type=array always has an items field,
so update the existing test expectation for callbacks.anyOf[0] to
include items: {type: string}.
This commit is contained in:
espinetandreu 2026-04-15 00:27:44 +02:00
parent 452061ec8b
commit fed49634f9

View file

@ -225,7 +225,7 @@ def test_build_vertex_schema():
"metadata": {"type": "object"},
"callbacks": {
"anyOf": [
{"type": "array", "nullable": True},
{"type": "array", "nullable": True, "items": {"type": "string"}},
{"type": "object", "nullable": True},
]
},