refactor(cluster agent): use new client-go testing pkg
Description
- refactor(cluster agent): use new client-go testing pkg
This change set makes use of the new testing package from client-go.
It allows us to mock the GitLab client instead of mocking on the HTTP
level.
Related Issues
Resolves #[issue_number]
How has this been tested?
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Edited by Timo Furrer