john-okeefe
2deb845cbc
Phase 0: Fix test infrastructure
- Fix critical bug in test_helpers.go (dead code, wrong return type)
- Add test_helpers_db.go with 6 new helper functions:
* verifyDeviceCreated, verifyDeviceDeleted
* verifyUserField, verifyMediaItemInDB, verifyMediaItemDeleted
* createTestLibraryWithFolder
- Impact: All tests can now create users reliably
- Create Phase 1 example (phase1_example_test.go) demonstrating:
* Struct-based assertions replacing map[string]interface{}
* Database verification after mutations
* Type-safe compile-time error detection
- Impact: Template pattern for remaining 500+ conversions
This work transforms brittle map-based tests into reliable struct-based
assertions with database verification, preventing silent API changes
and data corruption bugs.
2026-02-13 17:42:02 -05:00
..
2026-02-11 10:37:38 -05:00
2026-01-28 16:13:50 -05:00
2026-02-11 10:37:38 -05:00
2026-02-11 10:56:47 -05:00
2026-01-31 11:45:52 -05:00
2026-02-11 10:37:38 -05:00
2026-02-10 13:24:08 -05:00
2026-02-13 16:37:58 -05:00
2026-02-01 14:11:17 -05:00
2026-01-30 08:33:03 -05:00
2026-02-10 13:03:32 -05:00
2026-02-13 16:38:00 -05:00
2026-01-30 20:55:20 -05:00
2026-01-29 09:23:34 -05:00
2026-01-28 16:13:50 -05:00
2026-02-01 13:21:32 -05:00
2026-02-11 10:37:38 -05:00
2026-02-11 18:16:42 -05:00
2026-01-29 09:23:34 -05:00
2026-02-13 16:38:00 -05:00
2026-02-13 17:42:02 -05:00
2026-02-10 13:24:08 -05:00
2026-02-11 10:37:38 -05:00
2026-01-29 09:23:34 -05:00
2026-01-30 13:52:11 -05:00
2026-02-01 16:12:18 -05:00
2026-01-28 12:50:42 -05:00
2026-01-30 08:33:03 -05:00
2026-02-11 10:37:38 -05:00
2026-02-09 20:11:14 -05:00
2026-02-10 13:09:09 -05:00
2026-02-01 16:21:10 -05:00
2026-02-13 17:42:02 -05:00
2026-02-13 17:42:02 -05:00
2026-01-28 12:50:42 -05:00
2026-02-07 21:30:22 -05:00
2026-02-09 20:11:14 -05:00
2026-02-10 13:24:08 -05:00