Lines 2865-2871
subtest 'AddReturn + suspension_chargeperiod' => sub {
Link Here
|
2865 |
|
2865 |
|
2866 |
Koha::Patron::Debarments::AddDebarment( |
2866 |
Koha::Patron::Debarments::AddDebarment( |
2867 |
{ |
2867 |
{ |
2868 |
borrowernumber => $patron->{borrowernumber}, |
2868 |
borrowernumber => $patron->borrowernumber, |
2869 |
expiration => '9999-12-31', |
2869 |
expiration => '9999-12-31', |
2870 |
type => 'MANUAL', |
2870 |
type => 'MANUAL', |
2871 |
} |
2871 |
} |
Lines 2877-2889
subtest 'AddReturn + suspension_chargeperiod' => sub {
Link Here
|
2877 |
|
2877 |
|
2878 |
Koha::Patron::Debarments::DelUniqueDebarment( |
2878 |
Koha::Patron::Debarments::DelUniqueDebarment( |
2879 |
{ |
2879 |
{ |
2880 |
borrowernumber => $patron->{borrowernumber}, |
2880 |
borrowernumber => $patron->borrowernumber, |
2881 |
type => 'MANUAL', |
2881 |
type => 'MANUAL', |
2882 |
} |
2882 |
} |
2883 |
); |
2883 |
); |
2884 |
Koha::Patron::Debarments::AddDebarment( |
2884 |
Koha::Patron::Debarments::AddDebarment( |
2885 |
{ |
2885 |
{ |
2886 |
borrowernumber => $patron->{borrowernumber}, |
2886 |
borrowernumber => $patron->borrowernumber, |
2887 |
expiration => $now->clone->add( days => 10 ), |
2887 |
expiration => $now->clone->add( days => 10 ), |
2888 |
type => 'MANUAL', |
2888 |
type => 'MANUAL', |
2889 |
} |
2889 |
} |
2890 |
- |
|
|