Bug 21756: (QA follow-up) Fix Circulation.t
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
0118ccf9dd
commit
913b130ee4
|
|
@ -688,7 +688,7 @@ my ( $reused_itemnumber_1, $reused_itemnumber_2 );
|
|||
item_id => $item_to_auto_renew->{itemnumber},
|
||||
description => "Some fines"
|
||||
}
|
||||
)->accounttype->('F')->store;
|
||||
)->accounttype('F')->store;
|
||||
( $renewokay, $error ) =
|
||||
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} );
|
||||
is( $renewokay, 0, 'Do not renew, renewal is automatic' );
|
||||
|
|
@ -701,7 +701,7 @@ my ( $reused_itemnumber_1, $reused_itemnumber_2 );
|
|||
item_id => $item_to_auto_renew->{itemnumber},
|
||||
description => "Some fines"
|
||||
}
|
||||
)->accounttype->('F')->store;
|
||||
)->accounttype('F')->store;
|
||||
( $renewokay, $error ) =
|
||||
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} );
|
||||
is( $renewokay, 0, 'Do not renew, renewal is automatic' );
|
||||
|
|
@ -714,7 +714,7 @@ my ( $reused_itemnumber_1, $reused_itemnumber_2 );
|
|||
item_id => $item_to_auto_renew->{itemnumber},
|
||||
description => "Some fines"
|
||||
}
|
||||
)->accounttype->('F')->store;
|
||||
)->accounttype('F')->store;
|
||||
( $renewokay, $error ) =
|
||||
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} );
|
||||
is( $renewokay, 0, 'Do not renew, renewal is automatic' );
|
||||
|
|
|
|||
Loading…
Reference in New Issue