From 3b8a8c15d06ed4f914cb725bf47bd037a92f476b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Tue, 22 Oct 2019 11:20:39 +0000 Subject: [PATCH] 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 --- t/db_dependent/Items.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Items.t b/t/db_dependent/Items.t index 401c881735..8ac9e7ef22 100755 --- a/t/db_dependent/Items.t +++ b/t/db_dependent/Items.t @@ -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; }; -- 2.17.1