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:
parent
411f09e592
commit
5acc383caf
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue