mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
Chore: Fix flaky test (#78309)
* Chore: Fix flaky test * Found another one
This commit is contained in:
parent
f32f8a160e
commit
36fd9040af
@ -113,7 +113,7 @@ func TestOAuth2ServiceImpl_GetPublicKeyScopes(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
require.EqualValues(t, tc.expectedScopes, scopes)
|
||||
require.ElementsMatch(t, tc.expectedScopes, scopes)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@ -113,7 +113,7 @@ func TestRegistry_GetExternalServiceNames(t *testing.T) {
|
||||
|
||||
names, err := env.r.GetExternalServiceNames(context.Background())
|
||||
require.NoError(t, err)
|
||||
require.EqualValues(t, tt.want, names)
|
||||
require.ElementsMatch(t, tt.want, names)
|
||||
|
||||
env.oauthReg.AssertExpectations(t)
|
||||
env.saReg.AssertExpectations(t)
|
||||
|
Loading…
Reference in New Issue
Block a user