summaryrefslogtreecommitdiffstats
path: root/app/oauth_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/oauth_test.go')
-rw-r--r--app/oauth_test.go4
1 files changed, 0 insertions, 4 deletions
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{}