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% |
||
|---|---|---|
| .. | ||
| integration | ||
| support | ||
| towerops | ||
| towerops_web | ||
| test_helper.exs | ||