2 use Test::More tests => 1;
8 t::lib::Mocks::mock_preference('marcflavour', 'MARC21');
10 my $record = C4::Biblio::TransformKohaToMarc({
11 "biblioitems.illus" => "Other physical details", # 300$b
12 "biblioitems.pages" => "Extent", # 300$a
13 "biblioitems.size" => "Dimensions", # 300$c
16 my @subfields = $record->field('300')->subfields();
17 is_deeply( \@subfields, [
24 'Other physical details'
31 'TransformKohaToMarc should returns sorted subfields (regression test for bug 12343)' );