Skip to content

Commit 8bf9f71

Browse files
committed
fix over_16 in tests
1 parent e73bd23 commit 8bf9f71

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

tests/integration/test_error_propagation.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def test_notice_generation_raises_on_language_mismatch(self, tmp_path):
4242
"first_name": "Test",
4343
"last_name": "",
4444
"date_of_birth_display": "2010-01-01",
45+
"over_16": False,
4546
},
4647
school={"name": "Test School"},
4748
board={"name": "Test Board"},
@@ -96,6 +97,7 @@ def test_notice_generation_returns_all_or_nothing(self, tmp_path):
9697
"first_name": "Alice",
9798
"last_name": "",
9899
"date_of_birth_display": "2010-01-01",
100+
"over_16": False,
99101
},
100102
school={"name": "Test School"},
101103
board={"name": "Test Board"},
@@ -118,6 +120,7 @@ def test_notice_generation_returns_all_or_nothing(self, tmp_path):
118120
"first_name": "Bob",
119121
"last_name": "",
120122
"date_of_birth_display": "2010-02-02",
123+
"over_16": False,
121124
},
122125
school={"name": "Test School"},
123126
board={"name": "Test Board"},

tests/unit/test_data_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_client_record_creation(self) -> None:
3434
sequence="00001",
3535
client_id="C00001",
3636
language="en",
37-
person={"first_name": "Alice", "last_name": "Zephyr"},
37+
person={"first_name": "Alice", "last_name": "Zephyr", "over_16": False},
3838
school={"name": "Tunnel Academy"},
3939
board={"name": "Guelph Board"},
4040
contact={"street": "123 Main St"},

0 commit comments

Comments
 (0)