diff options
Diffstat (limited to 'internal/html_test.go')
| -rw-r--r-- | internal/html_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/html_test.go b/internal/html_test.go index d482eda..b77c937 100644 --- a/internal/html_test.go +++ b/internal/html_test.go @@ -219,7 +219,7 @@ func TestHtmlReport(t *testing.T) { } subject := "GOGIOS Report [C:1 W:1 U:0 S:1 OK:2]" - result := s.htmlReport(subject) + result := s.htmlReport(subject, config{}) // Check that all major sections are present expectedSections := []string{ @@ -228,6 +228,7 @@ func TestHtmlReport(t *testing.T) { "Alerts with status changed", "Unhandled alerts", "Stale alerts", + "Suppressed alerts", "Generated by Gogios", "</html>", } @@ -399,7 +400,7 @@ func TestW3CCompliance(t *testing.T) { } subject := "GOGIOS Report [C:1 W:0 U:0 S:0 OK:0]" - html := s.htmlReport(subject) + html := s.htmlReport(subject, config{}) // W3C HTML5 Required Elements requiredElements := map[string]string{ |
