Bug 8918: (follow-up) allow t/db_dependent/Reserves.t to pass if marcflavour is UNIMARC
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>
This commit is contained in:
parent
9b9fd85979
commit
adc09764bc
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ $bib->append_fields(
|
|||
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.
|
||||
|
|
Loading…
Reference in a new issue