From ce2b2be5de578bd9eb44b26e04db75ca61d67ca5 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 31 Oct 2017 09:39:31 -0500 Subject: Refactoring cfg refs and load / save functions (#7749) * refactoring cfg refs and load / save functions * improve error output --- utils/mail_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/mail_test.go') diff --git a/utils/mail_test.go b/utils/mail_test.go index 774ecbf5b..1d4643429 100644 --- a/utils/mail_test.go +++ b/utils/mail_test.go @@ -9,7 +9,7 @@ import ( ) func TestMailConnection(t *testing.T) { - LoadConfig("config.json") + LoadGlobalConfig("config.json") if conn, err := connectToSMTPServer(Cfg); err != nil { t.Log(err) @@ -32,7 +32,7 @@ func TestMailConnection(t *testing.T) { } func TestSendMail(t *testing.T) { - LoadConfig("config.json") + LoadGlobalConfig("config.json") T = GetUserTranslations("en") var emailTo string = "test@example.com" -- cgit v1.2.3-1-g7c22