Bug 22887: (RM follow-up) Fix Charges Test
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 18:51:45 +0000 (19:51 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 14 Apr 2020 18:51:45 +0000 (19:51 +0100)
The charges test added a duplicate authorised value needlessly (it's
already present in the sample data).

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Koha/Charges/Sales.t

index 25fc6a6..c3064fb 100644 (file)
@@ -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',