Lines 466-477
subtest do_checkout_with_patron_blocked => sub {
Link Here
|
466 |
class => 'Koha::Patrons', |
466 |
class => 'Koha::Patrons', |
467 |
value => { |
467 |
value => { |
468 |
branchcode => $library->branchcode, |
468 |
branchcode => $library->branchcode, |
469 |
dateexpiry => '2020/01/01', |
469 |
dateexpiry => '2020/01/03', |
470 |
} |
470 |
} |
471 |
} |
471 |
} |
472 |
); |
472 |
); |
473 |
my $circ = $ils->checkout($expired_patron->cardnumber, $item->barcode); |
473 |
my $circ = $ils->checkout($expired_patron->cardnumber, $item->barcode); |
474 |
is( $circ->{screen_msg}, 'Patron expired', "Got correct expired screen message" ); |
474 |
is( $circ->{screen_msg}, 'Patron expired on 01/03/2020', "Got correct expired screen message" ); |
475 |
|
475 |
|
476 |
my $fines_patron = $builder->build_object( |
476 |
my $fines_patron = $builder->build_object( |
477 |
{ |
477 |
{ |
478 |
- |
|
|