towerops/test/towerops
Graham McIntire 7e5da340d3
Add comprehensive tests for Accounts.UserCredential
Improved coverage from 28.57% to 100% by adding 13 tests covering:
- Required field validations (user_id, credential_id, public_key, name)
- Name length validation (min 1, max 100 characters)
- Optional field handling (sign_count, last_used_at, aaguid, transports, backup flags, attestation_format)
- Default values for optional fields
- touch_changeset/1 function (updates last_used_at and increments sign_count)

Overall coverage: 66.44%
2026-01-13 07:47:37 -06:00
..
accounts Add comprehensive tests for Accounts.UserCredential 2026-01-13 07:47:37 -06:00
alerts add marketing site 2026-01-06 14:34:48 -06:00
equipment Fix all failing tests after UI changes 2026-01-05 11:33:26 -06:00
monitoring Improve test coverage with comprehensive SNMP and monitoring tests 2026-01-12 18:31:19 -06:00
organizations Add comprehensive tests for Organizations.Invitation 2026-01-13 07:45:50 -06:00
snmp Improve test coverage: AgentLive.Index, UserAuth, Cisco profile 2026-01-12 18:56:23 -06:00
accounts_test.exs 1. User Authentication 2025-12-21 13:31:59 -06:00
agents_test.exs add remote agent setup 2026-01-09 13:15:31 -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 Improve test coverage with comprehensive SNMP and monitoring tests 2026-01-12 18:31:19 -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
snmp_test.exs Improve test coverage with comprehensive SNMP and monitoring tests 2026-01-12 18:31:19 -06:00