From 9036b5a91f2ed10b910e057ded43762817e0c51d Mon Sep 17 00:00:00 2001 From: Aashirwadjain Date: Tue, 17 Dec 2024 16:04:38 +0530 Subject: [PATCH] fix(alert-muting-rule): fix unit test cases for alert muting rules --- pkg/alerts/muting_rules_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/alerts/muting_rules_test.go b/pkg/alerts/muting_rules_test.go index 2af85db7..693e7de0 100644 --- a/pkg/alerts/muting_rules_test.go +++ b/pkg/alerts/muting_rules_test.go @@ -119,7 +119,7 @@ var ( "id": 1, "name": "Test User" }, - "actionOnMutingRuleWindowEnded": "CLOSE_ISSUES_ON_INACTIVE", + "actionOnMutingRuleWindowEnded": "CLOSE_ISSUES_ON_INACTIVE" } } } @@ -171,7 +171,7 @@ var ( "id": 1, "name": "Test User" }, - "actionOnMutingRuleWindowEnded": "CLOSE_ISSUES_ON_INACTIVE", + "actionOnMutingRuleWindowEnded": "CLOSE_ISSUES_ON_INACTIVE" } }` @@ -186,7 +186,7 @@ var ( "repeatCount": null, "weeklyRepeatDays": null }, - "actionOnMutingRuleWindowEnded": "DO_NOTHING", + "actionOnMutingRuleWindowEnded": "DO_NOTHING" } }`