Enforce 18+ age gate at account registration #23

Merged
reviewer-bot merged 6 commits from agent/7fedeb122f7e into main 2026-08-18 16:36:43 +00:00
Showing only changes of commit cb95895612 - Show all commits
+1 -1
View File
@@ -31,7 +31,7 @@ class TestCalculateAge:
def test_17_years_old(self):
"""A person who is 17 years old today is 17."""
today = date(2025, 6, 15)
dob = date(2007, 6, 15)
dob = date(2008, 6, 15)
assert calculate_age(dob, today=today) == 17
def test_65_years_old(self):