Caused by bug 16442.
Now we need to mock the marcflavour pref
Test plan:
prove t/Ris.t
should return green
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
## be written and designated. The field is free-form and resistant
## to all parsing efforts, so this information is lost on me
}
## be written and designated. The field is free-form and resistant
## to all parsing efforts, so this information is lost on me
}
}
##********************************************************************
}
##********************************************************************
}
##********************************************************************
}
##********************************************************************
# This Koha test module is a stub!
# Add more tests here!!!
# This Koha test module is a stub!
# Add more tests here!!!
-use strict;
-use warnings;
use Test::More tests => 4;
BEGIN {
use Test::More tests => 4;
BEGIN {
+t::lib::Mocks::mock_preference('marcflavour', 'MARC21');
is(C4::Ris::print_typetag(),undef,'test printing typetag');
is(C4::Ris::print_title(),undef, 'test printing title when print_title is nil');
is(C4::Ris::print_typetag(),undef,'test printing typetag');
is(C4::Ris::print_title(),undef, 'test printing title when print_title is nil');