Fix transient failure of badge_list_spec.js
What does this MR do?
Use _.uniqueId()
instead of Math.random()
for dummy badges to avoid duplicate IDs (see https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/86061108).
What are the relevant issue numbers?
found when investigating https://gitlab.com/gitlab-org/gitlab-ce/issues/44174
Edited by Inactive Account