mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
fix OAuth provider when running test multiple times (#3782)
This commit is contained in:
@@ -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")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user