diff options
Diffstat (limited to 'api/oauth_test.go')
-rw-r--r-- | api/oauth_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
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") } } } |