Repairs in oversight in the patron permit event testing code that caused
the test to miss events when the checkout was not there to fulfill a
hold.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
if ($self->is_noncat) {
# no_item result is OK during noncat checkout
@trimmed_results = grep { ($_->{fail_part} || '') ne 'no_item' } @$results;
+ } else {
+ @trimmed_results = @$results;
}
if ($self->checkout_is_for_hold) {