towerops/test/towerops
Graham McIntire a3cd43d2c2
Fix credo warnings and software design suggestions
Replace expensive length/1 comparisons with direct list comparisons or Enum.empty?/1 checks (13 instances in source code and tests). Add module aliases for Phoenix.HTML.Form and Towerops.Accounts.Scope to reduce nested module references.

Changes:
- Replace length(list) > 0 with list != [] or refute Enum.empty?(list)
- Add Phoenix.HTML.Form alias in CoreComponents
- Add Towerops.Accounts.Scope alias in ConnCase test helper

This eliminates all credo warnings and software design suggestions.
2026-01-06 12:55:22 -06:00
..
alerts Fix all failing tests after UI changes 2026-01-05 11:33:26 -06:00
equipment Fix all failing tests after UI changes 2026-01-05 11:33:26 -06:00
monitoring Fix credo warnings and software design suggestions 2026-01-06 12:55:22 -06:00
organizations more tests 2025-12-21 17:29:01 -06:00
accounts_test.exs 1. User Authentication 2025-12-21 13:31:59 -06:00
alerts_test.exs more tests 2025-12-21 17:29:01 -06:00
equipment_test.exs snmp bits 2026-01-03 14:41:28 -06:00
monitoring_test.exs snmp bits 2026-01-03 14:41:28 -06:00
organizations_test.exs Add active page navigation highlighting 2026-01-03 12:28:26 -06:00
sites_test.exs more tests 2025-12-21 17:29:01 -06:00