diff options
author | Chris <ccbrown112@gmail.com> | 2017-10-31 09:39:31 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2017-10-31 10:39:31 -0400 |
commit | ce2b2be5de578bd9eb44b26e04db75ca61d67ca5 (patch) | |
tree | 54203a18ecfb167dcf1d7e0742cea0ed9aab220a /utils/mail_test.go | |
parent | b446d0aa0aa2bd3d87028b0543752eb539507481 (diff) | |
download | chat-ce2b2be5de578bd9eb44b26e04db75ca61d67ca5.tar.gz chat-ce2b2be5de578bd9eb44b26e04db75ca61d67ca5.tar.bz2 chat-ce2b2be5de578bd9eb44b26e04db75ca61d67ca5.zip |
Refactoring cfg refs and load / save functions (#7749)
* refactoring cfg refs and load / save functions
* improve error output
Diffstat (limited to 'utils/mail_test.go')
-rw-r--r-- | utils/mail_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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" |