Add missing testing for the new GitLab API v4 support.

Review Request #1169 — Created April 20, 2018 and updated

Review Board
Some unit tests were missing from the GitLab API v4 change. We had the
beginnings of a function for checking repositories against the v4 API,
but it never actually performed any checks (and was missing a necessary
part of the payload to make the checks happen).

This fills in the missing logic, and adds a utility function for setting
the API version for a test so spies don't need to be repeated in several

Testing Done:
Unit tests pass.

Reviewed at

  • 6
  • 0
  • 0
  • 1
  • 7
Description From Last Updated
fafafafa guest2229 guest2229
aaaaaaaa guest5713 guest5713
This is a comment guest4650 guest4650
comment guest6025 guest6025
long comment guest6025 guest6025
merhaba guest2229 guest2229