From b79213b37756f8f132e129f10bbd6c7efe5980b5 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 15 Jul 2020 11:23:38 +0100 Subject: [PATCH] Bug 23091: Outline of tests to be written --- t/db_dependent/Circulation.t | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t index c39d2f4bb8..6fe765a898 100755 --- a/t/db_dependent/Circulation.t +++ b/t/db_dependent/Circulation.t @@ -2488,6 +2488,37 @@ subtest 'AddReturn | is_overdue' => sub { # Cleanup Koha::Account::Lines->search({ borrowernumber => $patron->borrowernumber })->delete; }; + + subtest 'enh 23091 | Lost item return policies' => sub { + plan tests => 1; + + # Do nothing + # + # Refund fee + ## Without fee + ## With fee + # + # Refund fee and restore fine + ## Without fee + ### Without fine + ### With fine (forgiven) + ### With fine (unforgiven) + ## With fee + ### Without fine + ### With fine (forgiven) + ### With fine (unforgiven) + # + # Refund fee and charge new fine + ## Without fee + ### Without fine + ### With fine (forgiven) + ### With fine (unforgiven) + ## With fee + ### Without fine + ### With fine (forgiven) + ### With fine (unforgiven) + ### Backdated return + }; }; subtest '_FixAccountForLostAndFound' => sub { -- 2.20.1