Lines 291-296
C4::Context->dbh->do("DELETE FROM accountlines");
Link Here
|
291 |
); |
291 |
); |
292 |
|
292 |
|
293 |
# Testing of feature to allow the renewal of reserved items if other items on the record can fill all needed holds |
293 |
# Testing of feature to allow the renewal of reserved items if other items on the record can fill all needed holds |
|
|
294 |
C4::Context->set_preference('AllowOnShelfHolds', 1 ); |
294 |
C4::Context->set_preference('AllowRenewalIfOtherItemsAvailable', 1 ); |
295 |
C4::Context->set_preference('AllowRenewalIfOtherItemsAvailable', 1 ); |
295 |
( $renewokay, $error ) = CanBookBeRenewed($renewing_borrowernumber, $itemnumber); |
296 |
( $renewokay, $error ) = CanBookBeRenewed($renewing_borrowernumber, $itemnumber); |
296 |
is( $renewokay, 1, 'Bug 11634 - Allow renewal of item with unfilled holds if other available items can fill those holds'); |
297 |
is( $renewokay, 1, 'Bug 11634 - Allow renewal of item with unfilled holds if other available items can fill those holds'); |
297 |
- |
|
|