towerops/test
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
..
integration Fix credo warnings and software design suggestions 2026-01-06 12:55:22 -06:00
support add remote agent setup 2026-01-09 13:15:31 -06:00
towerops Add comprehensive tests for Accounts.UserCredential 2026-01-13 07:47:37 -06:00
towerops_web Add HealthController test (0% → 100%) 2026-01-13 07:39:28 -06:00
test_helper.exs moar tests 2026-01-06 15:43:54 -06:00