diff --git a/tests/core/test_structured_runtime_context.py b/tests/core/test_structured_runtime_context.py index bc797e49..6b9af92e 100644 --- a/tests/core/test_structured_runtime_context.py +++ b/tests/core/test_structured_runtime_context.py @@ -1036,7 +1036,7 @@ def test_condition_still_reads_prior_outcome() -> None: workflow = Workflow( name="condition_prior_outcome", input_schema=SchemaRef(type="object", properties={}), - state_schema=StateSchema(fields={}), + state_schema=StateSchema.from_field_map({}), output_schema=SchemaRef(type="object", properties={}), node_defs=[ NodeDef(