Use expect_next_instance_of to replace expect_any_instance_of
What does this MR do?
Use expect_next_instance_of to replace expect_any_instance_of
Are there points in the code the reviewer needs to double check?
Only for the minimum changes though, resolving CE/EE difference.
We could rewrite all of expect_any_instance_of
later.
EE at: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6223
Does this MR meet the acceptance criteria?
-
Tests added for this feature/bug - Conform by the code review guidelines
-
Has been reviewed by a Backend maintainer
-
What are the relevant issue numbers?
Edited by Lin Jen-Shin