Skip to content

Commit

Permalink
fix OAuth provider when running test multiple times (#3782)
Browse files Browse the repository at this point in the history
  • Loading branch information
enahum authored and coreyhulen committed Aug 11, 2016
1 parent c996011 commit 4dcbe4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/oauth_test.go
Expand Up @@ -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")
}
}
}
Expand Down

0 comments on commit 4dcbe4b

Please sign in to comment.