diff options
author | enahum <nahumhbl@gmail.com> | 2016-08-11 11:47:12 -0500 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2016-08-11 08:47:12 -0800 |
commit | 4dcbe4bf096b39b4bae4c575f0fb2676759bc043 (patch) | |
tree | d9368fb44321a593d2cf5838250c5c9a6502e176 /api | |
parent | c9960118460def1db045f6d8d4d1a6d9683eba94 (diff) | |
download | chat-4dcbe4bf096b39b4bae4c575f0fb2676759bc043.tar.gz chat-4dcbe4bf096b39b4bae4c575f0fb2676759bc043.tar.bz2 chat-4dcbe4bf096b39b4bae4c575f0fb2676759bc043.zip |
fix OAuth provider when running test multiple times (#3782)
Diffstat (limited to 'api')
-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") } } } |