From 4e6cc846a618ecef5c101727bbd03f6674044ab7 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 17 Jan 2018 12:38:37 -0600 Subject: Finally remove utils.Cfg (#8113) * finally remove utils.Cfg * fix compile error * another test compilation fix --- app/oauth_test.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app/oauth_test.go') diff --git a/app/oauth_test.go b/app/oauth_test.go index b964b377d..60854a354 100644 --- a/app/oauth_test.go +++ b/app/oauth_test.go @@ -49,10 +49,6 @@ func TestOAuthDeleteApp(t *testing.T) { th := Setup() defer th.TearDown() - oldSetting := th.App.Config().ServiceSettings.EnableOAuthServiceProvider - defer th.App.UpdateConfig(func(cfg *model.Config) { - cfg.ServiceSettings.EnableOAuthServiceProvider = oldSetting - }) th.App.Config().ServiceSettings.EnableOAuthServiceProvider = true a1 := &model.OAuthApp{} -- cgit v1.2.3-1-g7c22