Lines 112-118
subtest 'show_history_check' => sub {
Link Here
|
112 |
my $ill_request_with_no_borrowernumber = $builder->build_sample_ill_request( { borrowernumber => undef } ); |
112 |
my $ill_request_with_no_borrowernumber = $builder->build_sample_ill_request( { borrowernumber => undef } ); |
113 |
|
113 |
|
114 |
my $new_opac_history_check = |
114 |
my $new_opac_history_check = |
115 |
Koha::ILL::Request::Workflow::HistoryCheck->new( $metadata_with_no_cardnumber, 'staff' ); |
115 |
Koha::ILL::Request::Workflow::HistoryCheck->new( $metadata_with_no_cardnumber, 'opac' ); |
116 |
|
116 |
|
117 |
is( |
117 |
is( |
118 |
$new_opac_history_check->show_history_check($ill_request_with_no_borrowernumber), |
118 |
$new_opac_history_check->show_history_check($ill_request_with_no_borrowernumber), |
119 |
- |
|
|