docs: update CHANGELOG for Cambium test fixes

This commit is contained in:
Graham McIntire 2026-02-12 09:34:20 -06:00
parent 4de4678a2f
commit 79b4ea16b2
No known key found for this signature in database

View file

@ -1,6 +1,15 @@
CHANGELOG - towerops-web
========================
2026-02-12 - test: fix Cambium ePMP test Mox expectations
- File: test/towerops/snmp/profiles/vendors/cambium_test.exs
Changed expect() to stub() in all discover_wireless_sensors/1 tests to handle multiple SNMP
get calls. The implementation makes several calls: static sensor fetch (CPU), ePMP mode
detection (wirelessInterfaceMode OID), and individual sensor value fetches (RSSI, SNR,
Frequency, Clients). Using stub() allows unlimited calls vs expect() which enforces exactly
one call, fixing Mox.UnexpectedCallError in all 7 ePMP-related test cases. All 13 Cambium
tests now pass correctly.
2026-02-12 - fix: sync modal state to URL for browser back/forward navigation
- Files: lib/towerops_web/live/user_settings_live.ex, lib/towerops_web/live/agent_live/index.ex
Fixed browser back/forward button navigation by syncing modal state to URL parameters.