From 10c5a927cb619f1aa2a599cbe3667820f4766bda Mon Sep 17 00:00:00 2001 From: Chris Date: Thu, 9 Nov 2017 14:46:20 -0600 Subject: more global config ref cleanup (#7802) --- app/import_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'app/import_test.go') 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.") } -- cgit v1.2.3-1-g7c22