fix the test error outputs
This commit is contained in:
parent
daf27fd6d0
commit
a645c14452
@ -417,10 +417,10 @@ services:
|
|||||||
t.Errorf("Messagebird access key should've been %s, but was %s", "1", config.Alerting.Messagebird.AccessKey)
|
t.Errorf("Messagebird access key should've been %s, but was %s", "1", config.Alerting.Messagebird.AccessKey)
|
||||||
}
|
}
|
||||||
if config.Alerting.Messagebird.From != "31619191918" {
|
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" {
|
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 {
|
if len(config.Services) != 1 {
|
||||||
t.Error("There should've been 1 service")
|
t.Error("There should've been 1 service")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user