Main Koha release repository https://koha-community.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
474 B

#!/usr/bin/perl
#
# This Koha test module is a stub!
# Add more tests here!!!
use Modern::Perl;
use t::lib::Mocks;
use Test::More tests => 4;
BEGIN {
use_ok('C4::Ris');
}
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_stitle(),undef, 'test printing info from series title field when its nil');