From 4dcbe4bf096b39b4bae4c575f0fb2676759bc043 Mon Sep 17 00:00:00 2001 From: enahum Date: Thu, 11 Aug 2016 11:47:12 -0500 Subject: fix OAuth provider when running test multiple times (#3782) --- 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 b719e17cc..47fc342ce 100644 --- a/api/oauth_test.go +++ b/api/oauth_test.go @@ -193,8 +193,8 @@ func TestGetOAuthAppsByUser(t *testing.T) { } else { apps := result.Data.([]*model.OAuthApp) - if len(apps) != 4 { - t.Fatal("incorrect number of apps should have been 4") + if len(apps) < 4 { + t.Fatal("incorrect number of apps should have been 4 or more") } } } -- cgit v1.2.3-1-g7c22