Alex
937ffe4f3b
add and update tests
2026-07-06 09:39:59 -07:00
Alex Holliday
71a4fddffd
add tests
2026-06-22 10:38:15 -07:00
harsh-aghara
9082cf0826
test(server): add comprehensive edge-case tests for customUpCodes validation
2026-06-18 22:51:21 +05:30
Alex Holliday
abec4e6c70
update tests
2026-06-09 12:34:30 -07:00
harsh-aghara
87a6640c1d
fix(backend): validate customUpCodes against standard HTTP status codes
...
Addresses reviewer feedback by enforcing strict validation on the array. Previously, the Zod schema accepted any arbitrary number, which could allow invalid or self-defined HTTP codes (e.g., 5000) to be saved to the database.
Refs #3657
2026-06-01 13:21:30 +05:30
Alex
6b63091d89
tighten validation, add tests
2026-05-11 11:28:39 -07:00
Alex
766d847561
tighten validation, replace negative type checks with allowed list
2026-05-11 10:27:41 -07:00
Alex
08043a5ea0
tighten validation, add tests
2026-05-11 10:12:27 -07:00
Alex
0c36c8e625
tests
2026-05-08 12:44:58 -07:00