fixing email test from PR

pull/554/head
hunterlong 2020-05-01 00:50:37 -07:00
parent 73c3366625
commit c40437a124
1 changed files with 5 additions and 2 deletions

View File

@ -61,8 +61,11 @@ func TestEmailNotifier(t *testing.T) {
To: email.GetValue("var2"),
Subject: fmt.Sprintf("Service %v is Failing", exampleService.Name),
Template: mainEmailTemplate,
Data: exampleService,
From: email.GetValue("var1"),
Data: emailData{
Service: *exampleService,
Failure: *exampleFailure,
},
From: email.GetValue("var1"),
}
})