datahub-project / datahub

The Metadata Platform for your Data and AI Stack
https://datahubproject.io
Apache License 2.0
9.93k stars 2.94k forks source link

fix(test): updates a couple tests to disregard list order #11840

Open rtekal opened 1 week ago

rtekal commented 1 week ago

In our fork, we have a different number of EntityTypes. It seems that because of this difference, when CollectionUtils.intersect was called in SearchUtils, the resulting list had a different order compared to upstream when running the test. In this PR I have updated the tests that were affected by this to disregard the order of the list and only check that it has the correct contents.

Checklist