From 5c89fe1b8d7ce4cf63f697609b18817ad1c626fe Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Mon, 10 Apr 2017 14:47:38 -0400 Subject: Fix configuration setting --- api/oauth_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/oauth_test.go') diff --git a/api/oauth_test.go b/api/oauth_test.go index 87a8f847c..5f55ae8f0 100644 --- a/api/oauth_test.go +++ b/api/oauth_test.go @@ -188,8 +188,8 @@ func TestOAuthGetAppsByUser(t *testing.T) { utils.Cfg.ServiceSettings.EnableOAuthServiceProvider = true - if _, err := Client.GetOAuthAppsByUser(); err != nil { - t.Fatal("Should have passed.") + if _, err := Client.GetOAuthAppsByUser(); err == nil { + t.Fatal("Should have failed.") } *utils.Cfg.ServiceSettings.EnableOnlyAdminIntegrations = false -- cgit v1.2.3-1-g7c22