Bug 23233: (follow-up) Remove accidentally left comment

The line

t::lib::Mocks::mock_preference( 'AllowItemsOnHoldCheckout', 0 );

was removed from below this comment line but the comment explaining
what it does was forgotten.

Signed-off-by: Lari Taskula <lari.taskula@hypernova.fi>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 723fb3ac41)
This commit is contained in:
Joonas Kylmälä 2019-10-22 11:00:51 +00:00 committed by Lucas Gass
parent 411f09e592
commit 5acc383caf
1 changed files with 0 additions and 1 deletions

View File

@ -72,7 +72,6 @@ subtest 'has_pending_hold() tests' => sub {
my $item = $builder->build_sample_item({ itemlost => 0 });
my $itemnumber = $item->itemnumber;
# disable AllowItemsOnHoldCheckout as it ignores pending holds
$dbh->do("INSERT INTO tmp_holdsqueue (surname,borrowernumber,itemnumber) VALUES ('Clamp',42,$itemnumber)");
ok( $item->has_pending_hold, "Yes, we have a pending hold");
$dbh->do("DELETE FROM tmp_holdsqueue WHERE itemnumber=$itemnumber");