From 29625ae0b77afc871b528569fd572a16723815a6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 17 Mar 2020 09:53:04 +0100 Subject: [PATCH] Bug 18177: remove aqbooksellers.currency --- Koha/Acquisition/Bookseller.pm | 1 - t/db_dependent/Bookseller.t | 5 +---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Koha/Acquisition/Bookseller.pm b/Koha/Acquisition/Bookseller.pm index a96806bb50..ccf6aa1607 100644 --- a/Koha/Acquisition/Bookseller.pm +++ b/Koha/Acquisition/Bookseller.pm @@ -82,7 +82,6 @@ on the API. sub to_api_mapping { return { - currency => undef, listprice => 'list_currency', invoiceprice => 'invoice_currency', gstreg => 'gst', diff --git a/t/db_dependent/Bookseller.t b/t/db_dependent/Bookseller.t index 3bb98bdd6f..c5d52841f2 100644 --- a/t/db_dependent/Bookseller.t +++ b/t/db_dependent/Bookseller.t @@ -765,10 +765,7 @@ $schema->storage->txn_rollback(); sub field_filter { my ($struct) = @_; - for my $field ( - 'currency', 'invoiceprice', - 'listprice', 'contacts' - ) + for my $field ( qw(invoiceprice listprice contacts) ) { if ( grep { /^$field$/ } keys %$struct ) { -- 2.20.1