Koha/t/db_dependent/api/v1
Julian Maurice c76281f3fc Bug 16213: Allow to select hold's itemtype when using API
Test plan:
1/ Use your usual "REST testing" tool to place a title-level hold with
an itemtype. The request should look like this:

POST /api/v1/holds
{
    "borrowernumber": 1234,
    "biblionumber": 456,
    "branchcode": "CPL",
    "itemtype": "A"
}

2/ Check that the hold was placed and the itemtype is correctly selected
3/ prove t/db_dependent/api/v1/holds.t

Signed-off-by: Benjamin Rokseth <benjamin.rokseth@kul.oslo.kommune.no>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-01-30 14:21:28 -03:00
..
acquisitions_vendors.t Bug 18120: /acquisitions/vendors unit tests 2017-09-29 17:13:13 -03:00
auth.t Bug 18137: (QA followup) Make sure the session exists and is expired on expiration tests 2017-09-21 11:27:05 -03:00
cities.t Bug 18137: Make /cities Mojolicious::Plugin::OpenAPI compatible 2017-09-21 11:27:05 -03:00
holds.t Bug 16213: Allow to select hold's itemtype when using API 2018-01-30 14:21:28 -03:00
illrequests.t Bug 7317: (QA followup) Rename 'branch' for 'library' 2017-11-09 11:42:16 -03:00
patrons.t Bug 18137: Make /patrons Mojolicious::Plugin::OpenAPI compatible 2017-09-21 11:27:05 -03:00