towerops/test/towerops_web
Graham McIntire f9b575816a
Fix database ownership issues in agent auth tests
- Update AgentAuth plug to use synchronous heartbeat updates in test env
- Refactor async heartbeat logic to reduce nesting (Credo)
- Remove Process.sleep from tests (no longer needed with sync updates)

This fixes 'owner exited' database errors in the test suite by avoiding
async Task spawns during tests, which caused DB connection ownership
conflicts with Ecto's sandbox mode.
2026-01-13 13:16:54 -06:00
..
controllers Streamline login flow and fix test failures 2026-01-13 13:08:24 -06:00
live Add comprehensive tests for EquipmentLive.Show 2026-01-13 09:13:40 -06:00
plugs Fix database ownership issues in agent auth tests 2026-01-13 13:16:54 -06:00
user_auth_test.exs more tests 2026-01-13 09:18:25 -06:00