brewlog/tests/server
Jon Seager 092bdce164
test: add form submission tests for all entity create handlers
The PayloadSource::Form branch (redirect response) and form-specific
Submission type parsing were previously untested. Add 19 tests covering
form-encoded POST for all 8 entities, including Datastar+form combo and
edge cases for custom deserializers (TastingNotesInput, optional gear ID,
comma-separated quick notes, date string parsing).
2026-02-10 09:17:07 +00:00
..
auth_api.rs test(auth): update tests for passkey migration 2026-02-05 11:00:20 +00:00
backup.rs feat(brews): add brew time field 2026-02-07 11:24:07 +00:00
bags_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
brews_api.rs feat(brews): add brew time field 2026-02-07 11:24:07 +00:00
cafes_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
checkin_api.rs test: add coverage for homepage, check-in, scan, and AI extraction 2026-02-05 19:19:05 +00:00
cups_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
datastar.rs feat(detail): add roast detail page, simplify lists and actions 2026-02-08 17:48:49 +00:00
extraction_api.rs test: add coverage for homepage, check-in, scan, and AI extraction 2026-02-05 19:19:05 +00:00
form_submissions.rs test: add form submission tests for all entity create handlers 2026-02-10 09:17:07 +00:00
gear_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
helpers.rs test: add form submission tests for all entity create handlers 2026-02-10 09:17:07 +00:00
main.rs test: add form submission tests for all entity create handlers 2026-02-10 09:17:07 +00:00
nearby_api.rs feat(nearby): add city-based search via Foursquare near param 2026-02-03 20:36:59 +00:00
pages.rs refactor: rename Account to Admin across filenames, routes, and docs 2026-02-08 09:39:37 +00:00
roasters_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
roasts_api.rs test: update test struct initializers for created_at field 2026-02-07 09:48:26 +00:00
scan_api.rs feat(scan): show cards for existing roasters/roasts during bag scan 2026-02-06 12:27:25 +00:00
stats_api.rs feat(stats): add pre-computed stats cache with background recomputation 2026-02-08 15:20:01 +00:00
test_macros.rs test: add form submission tests for all entity create handlers 2026-02-10 09:17:07 +00:00
timeline.rs feat(detail): add roast detail page, simplify lists and actions 2026-02-08 17:48:49 +00:00