Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
796957c8
Unverified
Commit
796957c8
authored
Feb 15, 2017
by
Jacob Bednarz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mailer tests to include `FromName`
parent
66445fae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
pkg/services/notifications/notifications_test.go
+1
-0
pkg/services/notifications/send_email_integration_test.go
+1
-0
No files found.
pkg/services/notifications/notifications_test.go
View file @
796957c8
...
@@ -23,6 +23,7 @@ func TestNotifications(t *testing.T) {
...
@@ -23,6 +23,7 @@ func TestNotifications(t *testing.T) {
setting
.
Smtp
.
Enabled
=
true
setting
.
Smtp
.
Enabled
=
true
setting
.
Smtp
.
TemplatesPattern
=
"emails/*.html"
setting
.
Smtp
.
TemplatesPattern
=
"emails/*.html"
setting
.
Smtp
.
FromAddress
=
"from@address.com"
setting
.
Smtp
.
FromAddress
=
"from@address.com"
setting
.
Smtp
.
FromName
=
"Grafana Admin"
err
:=
Init
()
err
:=
Init
()
So
(
err
,
ShouldBeNil
)
So
(
err
,
ShouldBeNil
)
...
...
pkg/services/notifications/send_email_integration_test.go
View file @
796957c8
...
@@ -18,6 +18,7 @@ func TestEmailIntegrationTest(t *testing.T) {
...
@@ -18,6 +18,7 @@ func TestEmailIntegrationTest(t *testing.T) {
setting
.
Smtp
.
Enabled
=
true
setting
.
Smtp
.
Enabled
=
true
setting
.
Smtp
.
TemplatesPattern
=
"emails/*.html"
setting
.
Smtp
.
TemplatesPattern
=
"emails/*.html"
setting
.
Smtp
.
FromAddress
=
"from@address.com"
setting
.
Smtp
.
FromAddress
=
"from@address.com"
setting
.
Smtp
.
FromName
=
"Grafana Admin"
setting
.
BuildVersion
=
"4.0.0"
setting
.
BuildVersion
=
"4.0.0"
err
:=
Init
()
err
:=
Init
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment