Bug 18816: (QA follow-up) Fix Circulation.t
Resolve:
ok 33 - Can renew, item is marked not for loan, hold does not block
Can't use string ("1") as a HASH ref while "strict refs" in use at /usr/share/koha/devclone/C4/Items.pm line 557.
Trivial fix. Remove fourth parameter.
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
cbb62feb03
commit
28e980a25d
|
|
@ -418,7 +418,7 @@ C4::Context->dbh->do("DELETE FROM accountlines");
|
|||
ModItem({ notforloan => 1 }, $biblionumber, $itemnumber);
|
||||
( $renewokay, $error ) = CanBookBeRenewed($renewing_borrowernumber, $itemnumber, 1);
|
||||
is( $renewokay, 1, 'Can renew, item is marked not for loan, hold does not block');
|
||||
ModItem({ notforloan => 0, itype => $itemtype }, $biblionumber, $itemnumber,1);
|
||||
ModItem({ notforloan => 0, itype => $itemtype }, $biblionumber, $itemnumber);
|
||||
|
||||
# FIXME: Add more for itemtype not for loan etc.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue