diff options
author | Chris <ccbrown112@gmail.com> | 2017-11-09 14:46:20 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-09 14:46:20 -0600 |
commit | 10c5a927cb619f1aa2a599cbe3667820f4766bda (patch) | |
tree | f415540ab66115e62928d304c99b533398d7f226 /app/import_test.go | |
parent | b0c18ece0988b1573b2286bb73b32e48a1d8c59a (diff) | |
download | chat-10c5a927cb619f1aa2a599cbe3667820f4766bda.tar.gz chat-10c5a927cb619f1aa2a599cbe3667820f4766bda.tar.bz2 chat-10c5a927cb619f1aa2a599cbe3667820f4766bda.zip |
more global config ref cleanup (#7802)
Diffstat (limited to 'app/import_test.go')
-rw-r--r-- | app/import_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/import_test.go b/app/import_test.go index ccd49608e..630077603 100644 --- a/app/import_test.go +++ b/app/import_test.go @@ -10,7 +10,6 @@ import ( "github.com/mattermost/mattermost-server/model" "github.com/mattermost/mattermost-server/store" - "github.com/mattermost/mattermost-server/utils" ) func ptrStr(s string) *string { @@ -1344,7 +1343,7 @@ func TestImportImportUser(t *testing.T) { t.Fatalf("Expected EmailVerified to be true.") } - if user.Locale != *utils.Cfg.LocalizationSettings.DefaultClientLocale { + if user.Locale != *th.App.Config().LocalizationSettings.DefaultClientLocale { t.Fatalf("Expected Locale to be the default.") } |