Improve test coverage

This commit is contained in:
TwinProduction committed 2021-05-15 22:09:58 -04:00
1 parent 77de4c4742
commit 758428b312
3 files changed
+39 -25

No files matched your search

+2 -2
View File
@@ -47,7 +47,7 @@ func TestParseWithDefaultAlert(t *testing.T) {
SuccessThreshold: 10,
},
ServiceAlert: &core.Alert{
Type: core.DiscordAlert,
Type: core.TelegramAlert,
Enabled: &enabled,
SendOnResolved: &enabled,
Description: &secondDescription,
@@ -55,7 +55,7 @@ func TestParseWithDefaultAlert(t *testing.T) {
SuccessThreshold: 11,
},
ExpectedOutputAlert: &core.Alert{
Type: core.DiscordAlert,
Type: core.TelegramAlert,
Enabled: &enabled,
SendOnResolved: &enabled,
Description: &secondDescription,