Bug 26922: Regression tests
[koha.git] / t / Ris.t
blobc11b1f59b5aefd0c0bb01f1e46ae9d2650f38f31
1 #!/usr/bin/perl
3 # This Koha test module is a stub!
4 # Add more tests here!!!
6 use Modern::Perl;
8 use t::lib::Mocks;
9 use Test::More tests => 4;
11 BEGIN {
12 use_ok('C4::Ris');
14 t::lib::Mocks::mock_preference('marcflavour', 'MARC21');
15 is(C4::Ris::print_typetag(),undef,'test printing typetag');
17 is(C4::Ris::print_title(),undef, 'test printing title when print_title is nil');
19 is(C4::Ris::print_stitle(),undef, 'test printing info from series title field when its nil');