Lines 2102-2108
subtest 'AddReturn + CumulativeRestrictionPeriods' => sub {
Link Here
|
2102 |
}; |
2102 |
}; |
2103 |
|
2103 |
|
2104 |
subtest 'AddReturn + suspension_chargeperiod' => sub { |
2104 |
subtest 'AddReturn + suspension_chargeperiod' => sub { |
2105 |
plan tests => 21; |
2105 |
plan tests => 24; |
2106 |
|
2106 |
|
2107 |
my $library = $builder->build( { source => 'Branch' } ); |
2107 |
my $library = $builder->build( { source => 'Branch' } ); |
2108 |
my $patron = $builder->build( { source => 'Borrower', value => { categorycode => $patron_category->{categorycode} } } ); |
2108 |
my $patron = $builder->build( { source => 'Borrower', value => { categorycode => $patron_category->{categorycode} } } ); |
Lines 2288-2293
subtest 'AddReturn + suspension_chargeperiod' => sub {
Link Here
|
2288 |
expiration_date => $now->clone->add(days => 5 + (5 * 2 - 1) ), |
2288 |
expiration_date => $now->clone->add(days => 5 + (5 * 2 - 1) ), |
2289 |
} |
2289 |
} |
2290 |
); |
2290 |
); |
|
|
2291 |
|
2292 |
test_debarment_on_checkout( |
2293 |
{ |
2294 |
item => $item_1, |
2295 |
library => $library, |
2296 |
patron => $patron, |
2297 |
due_date => $now->clone, |
2298 |
return_date => $now->clone->add(days => 5), |
2299 |
expiration_date => $now->clone->add(days => 5 + (5 * 2 - 1) ), |
2300 |
} |
2301 |
); |
2302 |
|
2291 |
}; |
2303 |
}; |
2292 |
|
2304 |
|
2293 |
subtest 'CanBookBeIssued + AutoReturnCheckedOutItems' => sub { |
2305 |
subtest 'CanBookBeIssued + AutoReturnCheckedOutItems' => sub { |
2294 |
- |
|
|