mirror of
https://github.com/mattermost/mattermost.git
synced 2026-05-28 04:35:04 -04:00
fix OAuth provider when running test multiple times (#3782)
This commit is contained in:
parent
c996011846
commit
4dcbe4bf09
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue