Bug 20006: Unit tests fixes
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 24 Jan 2019 17:51:03 +0000 (14:51 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 15 Mar 2019 19:35:26 +0000 (19:35 +0000)
commit52bb9802dda6f6bb3619cc6d8e921ecd8175c8ce
treec81e8e33b3b4ff69d6128358c0f966a5ba31d089
parent62f1b2df68f16dcd7eec324d487963f737cbe450
Bug 20006: Unit tests fixes

This patch makes the holds endpoint tests pass and expect data structures that match the voted RFC.

As we voted to introduce a /public namespace for unprivileged access to
endpoints, this endpoint gets the ability for owners and guarantors to
manipulate holds through the API.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/api/v1/holds.t