Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Aug 20, 2024
1 parent a99cf27 commit b38b866
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions src/redturtle/prenotazioni/tests/test_booking_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,14 @@ def test_booking_schema_no_bookable_available(
expected = {
"booking_types": {
"bookable": [],
"unbookable": [{"duration": "30", "name": "Type A", "hidden": True}],
"unbookable": [
{
"duration": "30",
"name": "Type A",
"hidden": True,
"booking_details_help_text": None,
}
],
},
"fields": [
{
Expand Down Expand Up @@ -217,7 +224,14 @@ def test_booking_schema_bookable_available(

expected = {
"booking_types": {
"bookable": [{"duration": "30", "name": "Type A", "hidden": True}],
"bookable": [
{
"duration": "30",
"name": "Type A",
"hidden": True,
"booking_details_help_text": None,
}
],
"unbookable": [],
},
"fields": [
Expand Down

0 comments on commit b38b866

Please sign in to comment.