Set marcflavour to MARC21 to make tests pass.
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Works for MARC21. But I would prefer a better fix for UNIMARC.
Will send a follow-up for that.
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
MARC::Field->new('245', ' ', ' ', a => $title),
);
my ($bibnum, $bibitemnum);
+# If marcflavour is UNIMARC, AddBiblio fails and all following tests fail too.
+C4::Context->set_preference('marcflavour', 'MARC21');
($bibnum, $title, $bibitemnum) = AddBiblio($bib, '');
# Helper item for that biblio.