The addition of a .refresh call after create, update and delete, caused our tests to fail because of many failed calls to LDAP. We can just expect the method to return true as we're not testing the refresh functionality in these methods.
(cherry picked from commit 05c840915e26f3e177796cc4aa0e294e4f685846)
Related issues
Bug #10123: Api::V2::ExternalUsergroupsControllerTest fails with "Render and/or redirect were called multiple times"
Fixes #10123 - Tests API v2 external user groups
The addition of a .refresh call after create, update and delete, caused
our tests to fail because of many failed calls to LDAP.
We can just expect the method to return true as we're not testing the
refresh functionality in these methods.
(cherry picked from commit 05c840915e26f3e177796cc4aa0e294e4f685846)