Bug 23233: (follow-up) Correct test description
AllowItemsOnHoldCheckout is not checked anymore but instead only whether the tmp_holdsqueue is empty or not. 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
b2b9f2ceb8
commit
dac488b55f
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ subtest 'GetItemsInfo tests' => sub {
|
|||
$dbh->do(q{INSERT INTO tmp_holdsqueue (biblionumber, itemnumber, surname, borrowernumber ) VALUES (?, ?, "Zorro", 42)}, undef, $item_bibnum, $itemnumber);
|
||||
@results = GetItemsInfo( $biblio->biblionumber );
|
||||
is( $results[0]->{ has_pending_hold }, "1",
|
||||
'Hold marked as pending/unavailable if not AllowItemsOnHoldCheckout' );
|
||||
'Hold marked as pending/unavailable if tmp_holdsqueue is not empty for item' );
|
||||
|
||||
$schema->storage->txn_rollback;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue