Skip to content

Commit

Permalink
fixed test for latest pydantic model
Browse files Browse the repository at this point in the history
  • Loading branch information
eadwinCode committed Nov 19, 2024
1 parent 58ab8e9 commit 00cc0d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_v2_pydantic/test_custom_fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class StudentSchema(ModelSchema):
"title": "Id",
},
"semester": {
"allOf": [{"$ref": "#/$defs/SemesterEnum"}],
"$ref": "#/$defs/SemesterEnum",
"default": "1",
"description": "",
"title": "Semester",
Expand Down Expand Up @@ -67,7 +67,7 @@ class StudentSchema(ModelSchema):
"title": "Id",
},
"semester": {
"allOf": [{"$ref": "#/$defs/SemesterEnum"}],
"$ref": "#/$defs/SemesterEnum",
"default": "1",
"description": "",
"title": "Semester",
Expand Down

0 comments on commit 00cc0d7

Please sign in to comment.