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>
This commit is contained in:
parent
f4746340c1
commit
1bd6c7d457
1 changed files with 0 additions and 1 deletions
|
@ -74,7 +74,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");
|
||||
|
|
Loading…
Reference in a new issue