Refactor Admin::GroupsController#members_update method and add some specs
What does this MR do?
- Use
Members::CreateService
instead ofadd_users
for Admin::GroupsController#members_update method - Add specs
Are there points in the code the reviewer needs to double check?
no
Why was this MR needed?
- Improve code quality
- Show users and error when no users added
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary Documentation created/updatedAPI support added- Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Part of https://gitlab.com/gitlab-org/gitlab-ce/issues/14709