mirror of https://github.com/statping/statping
fixing email test from PR
parent
73c3366625
commit
c40437a124
|
@ -61,8 +61,11 @@ 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: exampleService,
|
Data: emailData{
|
||||||
From: email.GetValue("var1"),
|
Service: *exampleService,
|
||||||
|
Failure: *exampleFailure,
|
||||||
|
},
|
||||||
|
From: email.GetValue("var1"),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue