fix the test error outputs

This commit is contained in:
cemturker 2020-11-24 17:16:54 +01:00
parent daf27fd6d0
commit a645c14452

View File

@ -417,10 +417,10 @@ services:
t.Errorf("Messagebird access key should've been %s, but was %s", "1", config.Alerting.Messagebird.AccessKey)
}
if config.Alerting.Messagebird.From != "31619191918" {
t.Errorf("Messagebird originator should've been %s, but was %s", "31619191918", config.Alerting.Messagebird.From)
t.Errorf("Messagebird from field should've been %s, but was %s", "31619191918", config.Alerting.Messagebird.From)
}
if config.Alerting.Messagebird.To != "31619191919" {
t.Errorf("Messagebird recipients should've been %s, but was %s", "31619191919", config.Alerting.Messagebird.To)
t.Errorf("Messagebird to field should've been %s, but was %s", "31619191919", config.Alerting.Messagebird.To)
}
if len(config.Services) != 1 {
t.Error("There should've been 1 service")