Improved coverage from 60.00% to 100% by adding 13 tests covering: - Required field validations (email, role, organization_id, invited_by_id) - Email format validation - Automatic token generation using crypto - Token preservation when provided - Automatic expires_at generation (7 days from now) - Expires_at preservation when provided - All valid role values (admin, member, viewer) - Accepted_at field handling Overall coverage: 66.34% |
||
|---|---|---|
| .. | ||
| alerts | ||
| equipment | ||
| monitoring | ||
| organizations | ||
| snmp | ||
| accounts_test.exs | ||
| agents_test.exs | ||
| alerts_test.exs | ||
| equipment_test.exs | ||
| monitoring_test.exs | ||
| organizations_test.exs | ||
| sites_test.exs | ||
| snmp_test.exs | ||