Pulse/internal/config
rcourtman ee066d086a Add unit tests for OIDC configuration helpers
Test coverage for internal/config/oidc.go functions:
- normaliseList: 8 cases for deduplication, trimming, empty handling
- parseDelimited: 8 cases for comma/space separation
- DefaultRedirectURL: 7 cases for URL construction
- OIDCConfig.Clone: 2 cases for deep copy behavior
- OIDCConfig.ApplyDefaults: 9 cases for defaults and normalization
- OIDCConfig.Validate: 9 cases for validation rules
- OIDCConfig.MergeFromEnv: 5 cases for environment variable merging
- NewOIDCConfig: constructor verification

Total: 56 new test cases (583 lines).
2025-11-30 16:22:43 +00:00
..
api_tokens.go feat: add native Windows service support and expandable host details 2025-10-23 22:11:56 +00:00
api_tokens_test.go Add API token scopes and standalone host agent 2025-10-23 11:40:31 +00:00
client_helpers.go chore: remove dead code and unused files 2025-11-27 00:05:04 +00:00
client_helpers_test.go Persist PVE fallback host after portless retry 2025-11-22 17:06:15 +00:00
config.go chore: remove dead code and unused files 2025-11-27 00:05:04 +00:00
config_utils_test.go Add unit tests for discovery config functions (config) 2025-11-30 10:49:03 +00:00
detect_root.go WIP: Save all pending changes including frontend updates and unified agent scaffolding 2025-11-25 11:27:07 +00:00
docker_metadata.go style: fix staticcheck style warnings 2025-11-27 09:19:33 +00:00
export.go feat: production-ready import/export with API tokens and transactional rollback 2025-10-21 14:37:44 +00:00
export_test.go Add unit tests for config encryption functions 2025-11-30 01:48:20 +00:00
guest_metadata.go style: fix staticcheck style warnings 2025-11-27 09:19:33 +00:00
import_transaction.go feat: production-ready import/export with API tokens and transactional rollback 2025-10-21 14:37:44 +00:00
oidc.go Add OIDC CA bundle support 2025-11-22 09:44:03 +00:00
oidc_test.go Add unit tests for OIDC configuration helpers 2025-11-30 16:22:43 +00:00
persistence.go Implement UI toggle for Hide Local Login (related to issue #750) 2025-11-25 08:14:19 +00:00
persistence_fail_test.go Harden setup token flow and enforce encrypted persistence 2025-10-25 16:00:37 +00:00
persistence_test.go Related to #727: normalize persisted Proxmox hosts 2025-11-20 19:58:05 +00:00
watcher.go Rebuild agent token bindings on API token config reload 2025-11-29 14:09:30 +00:00