Fix tests

This commit is contained in:
2026-03-02 19:57:44 +00:00
parent dd097c1022
commit 74b6f039c0
6 changed files with 78 additions and 41 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ func TestRegister_InvalidInput_Under16(t *testing.T) {
handler := http.HandlerFunc(RegisterHandler)
// Calculate a date that makes them under 16
under16DOB := time.Now().AddDate(-15, NULL, 0).Format("2006-01-02")
under16DOB := time.Now().AddDate(-15, 0, 0).Format("2006-01-02")
body := RegisterRequest{
FirstName: "Young",