notify/telegram: Fix test
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
This commit is contained in:
parent
3ccff53692
commit
2785325f07
|
@ -47,7 +47,7 @@ receivers:
|
||||||
require.Equal(t, "https://api.telegram.org", c.Receivers[0].TelegramConfigs[0].APIUrl.String())
|
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, config.Secret("secret"), c.Receivers[0].TelegramConfigs[0].BotToken)
|
||||||
require.Equal(t, int64(1234), c.Receivers[0].TelegramConfigs[0].ChatID)
|
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) {
|
func TestTelegramRetry(t *testing.T) {
|
||||||
|
|
Loading…
Reference in New Issue