Koha/t/AuthoritiesMarc_UNIMARC.t
Duncan Tyler bb79d37b87 Added unit test for AuthoritiesMarc/UNIMARC.pm
http://bugs.koha-community.org/show_bug.cgi?id=5327
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Test passes.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2011-12-15 13:41:41 +01:00

16 lines
346 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 => 2;
BEGIN {
use_ok('C4::AuthoritiesMarc::UNIMARC');
}
my @test = C4::AuthoritiesMarc::UNIMARC::default_auth_type_location();
ok(($test[0] == 152) && ($test[1] eq 'b'), "correct variables being returned");