Improve test coverage

This commit is contained in:
TwinProduction
2021-05-15 22:09:58 -04:00
parent 77de4c4742
commit 758428b312
3 changed files with 39 additions and 25 deletions

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,