towerops/test/towerops
Graham McIntire f5bef9b997
Add comprehensive tests for Organizations.Invitation
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%
2026-01-13 07:45:50 -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