From 895a9e2e3abf62146676e7f8fe74c7426c2d2bd8 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 12 Jan 2024 10:51:47 +0000 Subject: [PATCH] Bug 14293: (QA follow-up) Remove copy and paste test Content-Type: text/plain; charset=utf-8 The comment is in contradiction with the code. The test has been copied. Not needed to repeat it. Signed-off-by: Marcel de Rooy --- t/db_dependent/Circulation/maxsuspensiondays.t | 8 -------- 1 file changed, 8 deletions(-) diff --git a/t/db_dependent/Circulation/maxsuspensiondays.t b/t/db_dependent/Circulation/maxsuspensiondays.t index bcd25e1a48..7ad5842f25 100755 --- a/t/db_dependent/Circulation/maxsuspensiondays.t +++ b/t/db_dependent/Circulation/maxsuspensiondays.t @@ -261,13 +261,5 @@ subtest "maxsuspensiondays" => sub { ); DelDebarment( $THE_debarment->borrower_debarment_id ); - - # 2 hours late => ceil(.x/2) * 1 => 1 day of suspension - AddIssue( $patron, $barcode, $hoursafter2 ); - AddReturn( $barcode, $branchcode ); - $debarments = $patron->restrictions; - $THE_debarment = $debarments->next; - is_deeply( $THE_debarment, undef, 'No debarment if in time' ); - }; $schema->storage->txn_rollback; -- 2.30.2