From 60f4104626e4c846f089789fdf67adcf7db3e8f3 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 14 Apr 2020 19:51:45 +0100 Subject: [PATCH] Bug 22887: (RM follow-up) Fix Charges Test The charges test added a duplicate authorised value needlessly (it's already present in the sample data). Signed-off-by: Martin Renvoize --- t/db_dependent/Koha/Charges/Sales.t | 9 --------- 1 file changed, 9 deletions(-) diff --git a/t/db_dependent/Koha/Charges/Sales.t b/t/db_dependent/Koha/Charges/Sales.t index 25fc6a6257..c3064fbba0 100644 --- a/t/db_dependent/Koha/Charges/Sales.t +++ b/t/db_dependent/Koha/Charges/Sales.t @@ -194,15 +194,6 @@ subtest 'purchase tests' => sub { } ); - my $payment_type = Koha::AuthorisedValue->new( - { - category => 'PAYMENT_TYPE', - authorised_value => 'CASH', - lib => 'Cash transaction', - lib_opac => 'Cash transaction', - } - )->store; - my $item1 = Koha::Account::DebitType->new( { code => 'COPYRANDOM', -- 2.20.1