From 4525b7ccebea6236797b19f6fdc6834811229a63 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 Signed-off-by: Andrew Fuerste-Henry --- 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 bd8dd5d256..be4a237b9a 100755 --- a/t/db_dependent/Circulation.t +++ b/t/db_dependent/Circulation.t @@ -2667,6 +2667,37 @@ subtest 'AddReturn | is_overdue' => sub { 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