diff --git a/tests/parsing/test_where_filter_parsing.py b/tests/parsing/test_where_filter_parsing.py index 24335876..767647bf 100644 --- a/tests/parsing/test_where_filter_parsing.py +++ b/tests/parsing/test_where_filter_parsing.py @@ -80,7 +80,7 @@ def test_serialize_deserialize_operations() -> None: """ base_obj = ModelWithWhereFilter(where_filter=PydanticWhereFilter(where_sql_template=__BOOLEAN_EXPRESSION__)) - serialized = base_obj.json() + serialized = base_obj.model_dump_json() deserialized = ModelWithWhereFilter.parse_raw(serialized) assert deserialized == base_obj