Fix tests
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user