View | Details | Raw Unified | Return to bug 18795
Collapse All | Expand All

(-)a/Koha/REST/V1/Checkouts.pm (-1 / +1 lines)
Lines 199-205 sub delete_history { Link Here
199
199
200
    unless ($patrons->count) {
200
    unless ($patrons->count) {
201
        return $c->render( status => 404, openapi => {
201
        return $c->render( status => 404, openapi => {
202
            error => "Patron doesn't exist"
202
            error => "Patron not found"
203
        });
203
        });
204
    }
204
    }
205
205
(-)a/t/db_dependent/api/v1/checkouts.t (-2 / +1 lines)
Lines 232-235 $patron_to_delete->delete; Link Here
232
232
233
$t->delete_ok( "//$userid:$password@/api/v1/checkouts/history?patron_id=$patron_to_delete_id")
233
$t->delete_ok( "//$userid:$password@/api/v1/checkouts/history?patron_id=$patron_to_delete_id")
234
  ->status_is(404)
234
  ->status_is(404)
235
  ->json_is({error => "Patron doesn't exist"});
235
  ->json_is({error => "Patron not found"});
236
- 

Return to bug 18795