mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-22 03:02:35 +00:00
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 |
||
|---|---|---|
| .. | ||
| concurrency_test.go | ||
| email_enhanced.go | ||
| email_enhanced_test.go | ||
| email_providers.go | ||
| email_template.go | ||
| email_template_test.go | ||
| notification_utils_test.go | ||
| notifications.go | ||
| notifications_test.go | ||
| queue.go | ||
| queue_test.go | ||
| security_utils_test.go | ||
| templates_test.go | ||
| webhook_allowlist_test.go | ||
| webhook_enhanced.go | ||
| webhook_retry_test.go | ||
| webhook_templates.go | ||