Created by: magaliruffier
Raw SQL queries have been replaced with API methods. Changes to core API will need to be integrated prior to this PR.
The REST endpoint behaviour is protected from underlying schema changes as long as the methods return consistent outputs.
Some of the tests are still sensitive to order of results.
Have you added/modified unit tests to test the changes?
Behaviour of the endpoints was already tested, as only the method of fetching the data has changed. However, some order-dependent tests had to be updated.
If so, do the tests pass/fail?
Yes
Have you run the entire test suite and no regression was detected?
Yes.
The output of the various endpoints remains unchanged