rcourtman
65e38fac91
test: improve test coverage for AI, license, config, and monitoring packages
New test files:
- internal/ai/providers/gemini_test.go: Comprehensive Gemini provider tests
- internal/api/ai_intelligence_handlers_test.go: AI intelligence endpoint tests
- internal/api/ai_patrol_handlers_test.go: AI patrol endpoint tests
- internal/api/license_handlers_test.go: License API handler tests
- internal/api/security_oidc_response_test.go: OIDC response formatting tests
- internal/config/ai_config_test.go: AI configuration function tests
- internal/config/persistence_ai_test.go: AI config persistence tests
- internal/config/persistence_extended_test.go: Extended persistence tests
- internal/license/persistence_test.go: License persistence tests
- internal/license/pubkey_test.go: Public key handling tests
- internal/monitoring/host_agent_temps_test.go: Temperature processing tests
Enhanced existing files:
- internal/api/updates_test.go: Added update handler tests
- internal/license/license_test.go: Added Service method tests
Coverage improvements:
- ai/providers: 57.3% -> 73.0% (+15.7%)
- license: 78.3% -> 85.9% (+7.6%)
- config: 49.7% -> 53.9% (+4.2%)
- monitoring: 49.8% -> 50.8% (+1.0%)
- api: 28.4% -> 29.8% (+1.4%)
2025-12-19 22:49:30 +00:00
..
2025-11-26 23:44:36 +00:00
2025-10-20 15:13:37 +00:00
2025-11-05 19:26:20 +00:00
2025-12-01 17:33:36 +00:00
2025-10-11 23:29:47 +00:00
2025-12-01 20:15:32 +00:00
2025-11-26 23:44:36 +00:00
2025-12-01 17:33:36 +00:00
2025-11-18 09:46:48 +00:00
2025-12-12 17:51:43 +00:00
2025-12-12 18:13:17 +00:00
2025-12-01 19:40:32 +00:00
2025-10-22 15:36:26 +00:00
2025-12-01 19:58:43 +00:00
2025-10-15 19:27:19 +00:00
2025-12-02 17:21:48 +00:00
2025-12-01 10:03:47 +00:00
2025-12-12 19:12:06 +00:00
2025-12-01 01:37:28 +00:00
2025-10-20 15:13:38 +00:00
2025-10-14 16:13:53 +00:00
2025-11-12 09:47:02 +00:00
2025-12-02 17:21:48 +00:00
2025-12-01 10:53:41 +00:00
2025-10-23 08:07:32 +00:00
2025-12-18 14:42:47 +00:00
2025-12-19 22:49:30 +00:00
2025-12-09 09:29:27 +00:00
2025-11-26 23:44:36 +00:00
2025-12-12 21:31:11 +00:00
2025-10-25 16:00:37 +00:00
2025-12-02 17:21:48 +00:00
2025-12-01 21:18:33 +00:00
2025-11-27 09:16:53 +00:00
2025-12-02 17:21:48 +00:00
2025-12-12 23:24:04 +00:00
2025-12-02 17:21:48 +00:00
2025-12-07 22:54:27 +00:00
2025-11-27 09:19:33 +00:00
2025-12-12 23:24:04 +00:00
2025-12-12 23:24:04 +00:00
2025-12-02 17:21:48 +00:00
2025-11-18 22:57:20 +00:00
2025-12-12 17:38:55 +00:00
2025-10-20 15:13:38 +00:00
2025-12-17 20:16:27 +00:00
2025-11-11 23:52:24 +00:00
2025-11-05 19:28:37 +00:00
2025-12-02 17:21:48 +00:00
2025-12-18 23:27:32 +00:00
2025-11-18 14:25:09 +00:00
2025-11-18 09:46:48 +00:00
2025-11-06 00:16:18 +00:00
2025-12-02 17:21:48 +00:00
2025-12-01 18:42:57 +00:00
2025-12-18 23:27:32 +00:00
2025-12-02 17:21:48 +00:00
2025-11-27 00:05:04 +00:00
2025-10-11 23:29:47 +00:00
2025-12-02 17:21:48 +00:00
2025-10-11 23:29:47 +00:00
2025-11-18 21:30:04 +00:00
2025-12-02 17:21:48 +00:00
2025-12-02 14:48:57 +00:00
2025-12-01 20:44:00 +00:00
2025-12-02 14:41:53 +00:00
2025-12-01 19:04:23 +00:00
2025-11-18 18:42:33 +00:00
2025-11-18 18:42:33 +00:00
2025-12-02 12:02:13 +00:00
2025-10-25 13:12:47 +00:00
2025-12-19 17:09:57 +00:00
2025-12-02 15:21:41 +00:00