Pulse/internal/notifications
rcourtman e6b9bd501d test: Add error path tests for renderWebhookURL and UpdateAllowedPrivateCIDRs
Add comprehensive error handling tests for two pure functions:

renderWebhookURL (8 new test cases):
- Empty/whitespace URL template validation
- Invalid template syntax (unclosed braces, undefined functions)
- Template producing empty URL
- Missing scheme or host in rendered URL

UpdateAllowedPrivateCIDRs (expanded from 8 to 29 cases):
- Invalid IP addresses (garbage, out of range, malformed)
- Invalid CIDR notation (prefix too large, negative, non-numeric)
- Malformed strings (double slash, invalid IP with valid prefix)
- Success cases for valid IPv4/IPv6 CIDRs and bare IPs
2025-12-01 12:58:15 +00:00
..
concurrency_test.go Fix settings security tab navigation 2025-10-11 23:29:47 +00:00
email_enhanced.go Fix critical monitoring system issues and add robustness improvements 2025-11-07 08:52:37 +00:00
email_enhanced_test.go test: Add unit tests for email_enhanced.go error handling 2025-12-01 11:46:44 +00:00
email_providers.go chore: remove more dead code 2025-11-27 00:10:55 +00:00
email_template.go refactor: replace deprecated strings.Title with custom titleCase 2025-11-27 09:22:52 +00:00
email_template_test.go Add unit tests for email template utility functions 2025-11-30 01:03:05 +00:00
notification_utils_test.go Add unit tests for notification utility functions 2025-12-01 02:04:27 +00:00
notifications.go style: fix additional staticcheck warnings 2025-11-27 09:21:11 +00:00
notifications_test.go test: Add error path tests for renderWebhookURL and UpdateAllowedPrivateCIDRs 2025-12-01 12:58:15 +00:00
queue.go style: fix gofmt formatting inconsistencies 2025-11-26 23:44:36 +00:00
queue_test.go Add unit tests for notification queue utility functions 2025-11-30 03:19:23 +00:00
security_utils_test.go Add unit tests for notification security utilities (notifications) 2025-11-30 08:05:04 +00:00
templates_test.go Add unit tests for notification template functions (notifications) 2025-11-30 07:48:53 +00:00
webhook_allowlist_test.go test: Add error path tests for renderWebhookURL and UpdateAllowedPrivateCIDRs 2025-12-01 12:58:15 +00:00
webhook_enhanced.go Improve table column widths and sparkline visibility 2025-11-09 23:36:52 +00:00
webhook_retry_test.go Add unit tests for isRetryableWebhookError (internal/notifications) 2025-11-30 22:03:26 +00:00
webhook_templates.go Fix Pushover webhook custom field overrides (related to #665) 2025-11-08 10:32:27 +00:00