Lines 688-694
my ( $reused_itemnumber_1, $reused_itemnumber_2 );
Link Here
|
688 |
item_id => $item_to_auto_renew->{itemnumber}, |
688 |
item_id => $item_to_auto_renew->{itemnumber}, |
689 |
description => "Some fines" |
689 |
description => "Some fines" |
690 |
} |
690 |
} |
691 |
)->accounttype->('F')->store; |
691 |
)->accounttype('F')->store; |
692 |
( $renewokay, $error ) = |
692 |
( $renewokay, $error ) = |
693 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
693 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
694 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
694 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
Lines 701-707
my ( $reused_itemnumber_1, $reused_itemnumber_2 );
Link Here
|
701 |
item_id => $item_to_auto_renew->{itemnumber}, |
701 |
item_id => $item_to_auto_renew->{itemnumber}, |
702 |
description => "Some fines" |
702 |
description => "Some fines" |
703 |
} |
703 |
} |
704 |
)->accounttype->('F')->store; |
704 |
)->accounttype('F')->store; |
705 |
( $renewokay, $error ) = |
705 |
( $renewokay, $error ) = |
706 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
706 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
707 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
707 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
Lines 714-720
my ( $reused_itemnumber_1, $reused_itemnumber_2 );
Link Here
|
714 |
item_id => $item_to_auto_renew->{itemnumber}, |
714 |
item_id => $item_to_auto_renew->{itemnumber}, |
715 |
description => "Some fines" |
715 |
description => "Some fines" |
716 |
} |
716 |
} |
717 |
)->accounttype->('F')->store; |
717 |
)->accounttype('F')->store; |
718 |
( $renewokay, $error ) = |
718 |
( $renewokay, $error ) = |
719 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
719 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
720 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
720 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
721 |
- |
|
|