Bug 20006: Unit tests fixes
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 24 Jan 2019 17:51:03 +0000 (14:51 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 19 Mar 2019 10:51:25 +0000 (10:51 +0000)
commit641f61d84b02fcf4b9efb8d745d82cf5f25022e8
tree2b051463ef48f51fadf881be01f2518bef3e2f40
parent9f8f8de6311d8fe8fb6410c976e90c40a9f7e421
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>
(cherry picked from commit 52bb9802dda6f6bb3619cc6d8e921ecd8175c8ce)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/api/v1/holds.t