Update the GitLab tests to use the new hosting service test helpers.

Review Request #9772 — Created March 14, 2018 and submitted

Christian Hammond
Review Board

This updates the GitLab test suite to use the new helpers for hosting
service unit tests, which provide better, more consistent checks with
simpler code. The results of all HTTP requests are checked, ensuring
we're calling what we expect and that behavior doesn't change in the

It also fleshes out the test suite, ensuring we have matching tests for
both GitLab API v3 and v4.

Unit tests pass.

Christian Hammond
Christian Hammond
Christian Hammond
Christian Hammond
David Trowbridge
  1. Ship It!
Christian Hammond
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (4fdedb1)