Bug 27898: Unit tests
authorTomas Cohen Arazi <tomascohen@theke.io>
Mon, 8 Mar 2021 16:03:43 +0000 (13:03 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 4 May 2021 12:22:04 +0000 (14:22 +0200)
commit542db8c440637a3df11ce95940cdc8aeb25e428d
tree4e2c78ad39987e61e36da61dac712ba4d341db19
parente5d5fbdd3e76bf3df62a5ec4462a482ecbe0545d
Bug 27898: Unit tests

This patch adds unit tests for the PUT /holds/:hold_id route so it
accepts the x-koha-override header and is able to override pickup
location constraints.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/api/v1/holds.t