Bug 27330: Regression tests
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 2af262e1f2)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
465899c347
commit
f48b9b7611
|
|
@ -86,7 +86,7 @@ subtest 'add() tests' => sub {
|
|||
$t->post_ok( "//$userid:$password@/api/v1/clubs/"
|
||||
. $club_without_enrollments->id
|
||||
. "/holds" => json => $data )
|
||||
->status_is(500)
|
||||
->status_is(403)
|
||||
->json_is( '/error' => "Cannot place a hold on a club without patrons." );
|
||||
|
||||
$t->post_ok( "//$userid:$password@/api/v1/clubs/"
|
||||
|
|
|
|||
Loading…
Reference in New Issue