mirror of
https://github.com/Mezeporta/Erupe.git
synced 2026-03-22 15:43:49 +01:00
Cover all 14 handler functions in handlers_house.go with 25 new tests: - 7 unit tests for guard paths (payload size limits, box index bounds, no-op handlers) that run without a database - 18 integration tests against real PostgreSQL covering interior updates, house state/password, house enumeration by char ID and name, house loading with access control, mission data CRUD, title acquisition with dedup, warehouse operations (box names, usage limits, rename guards), item storage round-trips, and deco myset defaults Introduces readAck() helper to parse MsgSysAck wire format from the sendPackets channel, and setupHouseTest() for DB + session scaffolding with user_binary row initialization.