Make concierge_api_discovery_test.go less sensitive to order in a list
Signed-off-by: Ryan Richard <richardry@vmware.com>
This commit is contained in:
parent
f48a4e445e
commit
154de991e4
@ -139,7 +139,7 @@ func TestGetAPIResourceList(t *testing.T) {
|
|||||||
for i := range actualResourceList.APIResources {
|
for i := range actualResourceList.APIResources {
|
||||||
actualResourceList.APIResources[i].StorageVersionHash = ""
|
actualResourceList.APIResources[i].StorageVersionHash = ""
|
||||||
}
|
}
|
||||||
require.EqualValues(t, expectedResources, actualResourceList.APIResources, "unexpected API resources")
|
require.ElementsMatch(t, expectedResources, actualResourceList.APIResources, "unexpected API resources")
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user