mirror of https://github.com/statping/statping
test fix
parent
d52b02eb3e
commit
b8a3d36b80
|
@ -61,9 +61,9 @@ func TestEmailNotifier(t *testing.T) {
|
||||||
To: email.GetValue("var2"),
|
To: email.GetValue("var2"),
|
||||||
Subject: fmt.Sprintf("Service %v is Failing", exampleService.Name),
|
Subject: fmt.Sprintf("Service %v is Failing", exampleService.Name),
|
||||||
Template: mainEmailTemplate,
|
Template: mainEmailTemplate,
|
||||||
Data: emailData{
|
Data: replacer{
|
||||||
Service: *exampleService,
|
Service: exampleService,
|
||||||
Failure: *exampleFailure,
|
Failure: exampleFailure,
|
||||||
},
|
},
|
||||||
From: email.GetValue("var1"),
|
From: email.GetValue("var1"),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue