fix(wallet): flaky test TestUpdateCollectionsData

This commit is contained in:
Ivan Belyakov 2024-03-15 11:55:02 +01:00 committed by IvanBelyakoff
parent 0aa1fb9eff
commit 2c634a2b45
1 changed files with 2 additions and 2 deletions

View File

@ -55,12 +55,12 @@ func TestUpdateCollectionsData(t *testing.T) {
idsNotInDB, err = db.GetIDsNotInDB(extraIds)
require.NoError(t, err)
require.Equal(t, extraIds, idsNotInDB)
require.ElementsMatch(t, extraIds, idsNotInDB)
combinedIds := append(ids, extraIds...)
idsNotInDB, err = db.GetIDsNotInDB(combinedIds)
require.NoError(t, err)
require.Equal(t, extraIds, idsNotInDB)
require.ElementsMatch(t, extraIds, idsNotInDB)
// Check for loaded data
loadedMap, err := db.GetData(ids)