diff options
author | enahum <nahumhbl@gmail.com> | 2016-07-04 09:30:57 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-07-04 09:30:57 -0400 |
commit | 2305b2597f3658329479645820b985db78da103f (patch) | |
tree | 0754ac5a717f40d3cd4df010d9c7baeeb1abedd9 /utils/config_test.go | |
parent | 5dfa4fb62979ab9d4eba3c33a29397fe10f7cbc3 (diff) | |
download | chat-2305b2597f3658329479645820b985db78da103f.tar.gz chat-2305b2597f3658329479645820b985db78da103f.tar.bz2 chat-2305b2597f3658329479645820b985db78da103f.zip |
PLT-3456 Fix Errors while starting the server (#3445)
* PLT-3456 AppErrors that are triggered before translations are loaded crash server or produce bad error messages.
* Fixing tests
Diffstat (limited to 'utils/config_test.go')
-rw-r--r-- | utils/config_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/config_test.go b/utils/config_test.go index 96ef49696..d42f99a69 100644 --- a/utils/config_test.go +++ b/utils/config_test.go @@ -8,6 +8,7 @@ import ( ) func TestConfig(t *testing.T) { + TranslationsPreInit() LoadConfig("config.json") InitTranslations(Cfg.LocalizationSettings) } |