notify/telegram: Fix test

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
This commit is contained in:
Matthias Loibl 2022-06-03 12:11:20 +02:00
parent 3ccff53692
commit 2785325f07
No known key found for this signature in database
GPG Key ID: 78A796CA74CA38BA
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ receivers:
require.Equal(t, "https://api.telegram.org", c.Receivers[0].TelegramConfigs[0].APIUrl.String())
require.Equal(t, config.Secret("secret"), c.Receivers[0].TelegramConfigs[0].BotToken)
require.Equal(t, int64(1234), c.Receivers[0].TelegramConfigs[0].ChatID)
require.Equal(t, "MarkdownV2", c.Receivers[0].TelegramConfigs[0].ParseMode)
require.Equal(t, "HTML", c.Receivers[0].TelegramConfigs[0].ParseMode)
}
func TestTelegramRetry(t *testing.T) {