Refactored REST API tests to use the API where possible

Created by: martinburchell

I've not added any new functionality to the API - just used what is currently available

Merge request reports

Loading