Lines 667-673
my ( $reused_itemnumber_1, $reused_itemnumber_2 );
Link Here
|
667 |
item_id => $item_to_auto_renew->{itemnumber}, |
667 |
item_id => $item_to_auto_renew->{itemnumber}, |
668 |
description => "Some fines" |
668 |
description => "Some fines" |
669 |
} |
669 |
} |
670 |
)->accounttype->('F')->store; |
670 |
)->accounttype('F')->store; |
671 |
( $renewokay, $error ) = |
671 |
( $renewokay, $error ) = |
672 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
672 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
673 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
673 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
Lines 680-686
my ( $reused_itemnumber_1, $reused_itemnumber_2 );
Link Here
|
680 |
item_id => $item_to_auto_renew->{itemnumber}, |
680 |
item_id => $item_to_auto_renew->{itemnumber}, |
681 |
description => "Some fines" |
681 |
description => "Some fines" |
682 |
} |
682 |
} |
683 |
)->accounttype->('F')->store; |
683 |
)->accounttype('F')->store; |
684 |
( $renewokay, $error ) = |
684 |
( $renewokay, $error ) = |
685 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
685 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
686 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
686 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
Lines 693-699
my ( $reused_itemnumber_1, $reused_itemnumber_2 );
Link Here
|
693 |
item_id => $item_to_auto_renew->{itemnumber}, |
693 |
item_id => $item_to_auto_renew->{itemnumber}, |
694 |
description => "Some fines" |
694 |
description => "Some fines" |
695 |
} |
695 |
} |
696 |
)->accounttype->('F')->store; |
696 |
)->accounttype('F')->store; |
697 |
( $renewokay, $error ) = |
697 |
( $renewokay, $error ) = |
698 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
698 |
CanBookBeRenewed( $renewing_borrowernumber, $item_to_auto_renew->{itemnumber} ); |
699 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
699 |
is( $renewokay, 0, 'Do not renew, renewal is automatic' ); |
700 |
- |
|
|