mirror of
https://github.com/mileswolfallen2/miles-web.git
synced 2026-12-04 15:57:47 +00:00
- Implement tests for HTTP API endpoints, ensuring correct responses and security headers. - Create configuration tests to validate loading of defaults and environment overrides. - Add tests for FEDL service to verify data handling and snapshot functionality. - Introduce GitHub service tests to check API data normalization and caching behavior. - Develop monitor service tests for network checks and uptime calculations. - Implement persistence tests to ensure database migrations are idempotent and data persists across restarts. - Add vault service tests for session management and brute-force protection mechanisms. - Include helper functions for test context creation and JSON response handling.
19 lines
285 B
JSON
19 lines
285 B
JSON
{
|
|
"servers": [
|
|
{
|
|
"id": "home-1",
|
|
"name": "Home Server 1",
|
|
"ip": "10.0.0.87",
|
|
"order": 1,
|
|
"enabled": true
|
|
},
|
|
{
|
|
"id": "home-2",
|
|
"name": "Home Server 2",
|
|
"ip": "10.0.0.119",
|
|
"order": 2,
|
|
"enabled": true
|
|
}
|
|
]
|
|
}
|