Jonathan Druart
88dc70f7e6
This subroutine always returns what has been sent in parameter. It is unecessary and can be removed. Test plan: prove t/Ris.t should not be noisy Export a catalogue record in Ris should generate the same file with and without this patch NOTE: With/Without were identical in my testing. t/Ris.t is nicely silenced. Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
19 lines
411 B
Perl
Executable file
19 lines
411 B
Perl
Executable file
#!/usr/bin/perl
|
|
#
|
|
# This Koha test module is a stub!
|
|
# Add more tests here!!!
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use Test::More tests => 4;
|
|
|
|
BEGIN {
|
|
use_ok('C4::Ris');
|
|
}
|
|
|
|
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');
|