Update mailer tests to include FromName

This commit is contained in:
Jacob Bednarz 2017-02-15 08:04:21 +11:00
parent 66445faeb5
commit 796957c8c6
No known key found for this signature in database
GPG Key ID: 5BDAF4B30FB432FB
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ func TestNotifications(t *testing.T) {
setting.Smtp.Enabled = true
setting.Smtp.TemplatesPattern = "emails/*.html"
setting.Smtp.FromAddress = "from@address.com"
setting.Smtp.FromName = "Grafana Admin"
err := Init()
So(err, ShouldBeNil)

View File

@ -18,6 +18,7 @@ func TestEmailIntegrationTest(t *testing.T) {
setting.Smtp.Enabled = true
setting.Smtp.TemplatesPattern = "emails/*.html"
setting.Smtp.FromAddress = "from@address.com"
setting.Smtp.FromName = "Grafana Admin"
setting.BuildVersion = "4.0.0"
err := Init()