Commit Graph
2 Commits
Author SHA1 Message Date
jevb cfaa253b1b fix: remediate low-signal Go test assertions (BUG-061)
Replace "doesn't panic" style assertions in coverage_boost_test.go
with behavioral checks on return values and state.
2026-04-01 18:25:13 +02:00
jevb 2a62f31c39 test: boost server coverage — auth 60→95%, db 69→81%, config 75→85%
Add comprehensive tests across all Go packages:
- auth: username validation, concurrent rate limiting, TOTP stores, timing
- config: env overrides, default credential detection, voice defaults
- db: search, message queries, special char handling
- api: handler edge cases, error paths, DM/invite/TOTP coverage
- ws: voice handler paths, integration scenarios
- updater: version comparison, timeout handling

6 of 8 packages now at 80%+ coverage.
2026-04-01 11:38:11 +02:00