Lines 3037-3045
subtest 'AddReturn should clear items.onloan for unissued items' => sub {
Link Here
|
3037 |
is( $item->onloan, undef, 'AddReturn did clear items.onloan' ); |
3037 |
is( $item->onloan, undef, 'AddReturn did clear items.onloan' ); |
3038 |
}; |
3038 |
}; |
3039 |
|
3039 |
|
3040 |
$schema->storage->txn_rollback; |
|
|
3041 |
C4::Context->clear_syspref_cache(); |
3042 |
$cache->clear_from_cache('single_holidays'); |
3043 |
|
3040 |
|
3044 |
subtest 'AddRenewal and AddIssuingCharge tests' => sub { |
3041 |
subtest 'AddRenewal and AddIssuingCharge tests' => sub { |
3045 |
|
3042 |
|
Lines 3318-3320
subtest 'CanBookBeIssued & RentalFeesCheckoutConfirmation' => sub {
Link Here
|
3318 |
is_deeply( $needsconfirmation, { RENTALCHARGE => '3' }, 'Item needs rentalcharge confirmation to be issued, increment' ); |
3315 |
is_deeply( $needsconfirmation, { RENTALCHARGE => '3' }, 'Item needs rentalcharge confirmation to be issued, increment' ); |
3319 |
$itemtype->rentalcharge_daily('0')->store; |
3316 |
$itemtype->rentalcharge_daily('0')->store; |
3320 |
}; |
3317 |
}; |
3321 |
- |
3318 |
|
|
|
3319 |
$schema->storage->txn_rollback; |
3320 |
C4::Context->clear_syspref_cache(); |
3321 |
$cache->clear_from_cache('single_holidays'); |