From ba3b819faffd33dfe5dc0d6d7050efc5488b5d9b Mon Sep 17 00:00:00 2001 From: Arjun Rajpal Date: Tue, 4 Jul 2023 13:50:11 +0530 Subject: [PATCH] fix test --- alert/responder.go | 1 - policy/policy_test.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/alert/responder.go b/alert/responder.go index cc93cf1..63d37e1 100644 --- a/alert/responder.go +++ b/alert/responder.go @@ -7,7 +7,6 @@ const ( TeamResponder ResponderType = "team" EscalationResponder ResponderType = "escalation" ScheduleResponder ResponderType = "schedule" - GroupResponder ResponderType = "group" ) type Responder struct { diff --git a/policy/policy_test.go b/policy/policy_test.go index ee12fb1..e1cf0da 100644 --- a/policy/policy_test.go +++ b/policy/policy_test.go @@ -126,7 +126,7 @@ func TestCreateAlertPolicy_Validate(t *testing.T) { req.Responders = &[]alert.Responder{ { - Type: alert.GroupResponder, + Type: "", Name: "", Id: "", Username: "",