Koha-clms/t/Koha
Jonathan Druart d5d2f319df
Bug 34828: Add Koha::Biblio::Metadata::Extractor::MARC
and inherit from it

The new usage is now:

1. With a Koha::Biblio object
my $extractor = Koha::Biblio::Metadata::Extractor->new({biblio => $biblio});
$extractor->get_normalized_upc;

or

2. With a MARC::Record
my $extractor = Koha::Biblio::Metadata::Extractor->new({metadata=> $biblio->metadata->record});
$extractor->get_normalized_upc;

Note that there are "Inconsistent hierarchy during C3 merge of class"
warnings raised by the QA script. We could remove them by replacing the
'use' by 'require' in Koha::Biblio::Metadata::Extractor::MARC (in ->new)
but that's suboptimal.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-09 16:41:31 -03:00
..
Auth Bug 34844: Add manage_item_editor_templates to userpermissions.sql 2023-09-22 10:52:44 -03:00
Authority
…
Database Bug 29695: Add new module Koha::Database::Columns 2022-04-12 11:40:16 +02:00
I18N/po/xx_XX/LC_MESSAGES Bug 29695: Add new module Koha::Database::Columns 2022-04-12 11:40:16 +02:00
Middleware Bug 33967: Add unit test to ensure SetEnv doesn't compromise $env 2023-06-09 08:50:13 -03:00
Object Bug 29857: (follow-up) Fix t/Koha/Object/Message.t 2022-03-02 09:40:05 -10:00
Plugins Bug 29857: (follow-up) Fix t/Koha/Plugins/Tab.t 2022-03-02 09:40:05 -10:00
REST/Plugin Bug 32713: Unit tests 2023-03-16 16:12:26 -03:00
Result Bug 29746: (it-doesn't-hurt follow-up) More tests 2022-01-05 13:33:46 -10:00
SearchEngine Bug 33406: (follow-up) Mock SearchEngine to ensure using ES 2023-09-18 11:44:23 -03:00
Util Bug 30678: (follow-up) Add oclc_number routine and friends 2022-07-22 14:58:11 -03:00
Config.t Bug 32911: (follow-up) Remove a couple of cases from tests 2023-09-01 11:43:42 -03:00
Email.t Bug 29857: (follow-up) Fix t/Koha/Email.t 2022-03-02 09:40:05 -10:00
Exceptions.t Bug 32334: Exceptions - Add parameter to WrongParameter 2023-04-12 11:21:55 -03:00
I18N.t
…
ItemType.t
…
Script.t
…
Script_cron.t
…
Z3950responder.t
…
sleep.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
wait.pl Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00