Bug 7696 - NORMARC lacks staff results XSLT
[koha.git] / t / Heading_MARC21.t
blob198eaeaeb47955b523e87dde45fba8fe788470a2
1 #!/usr/bin/perl
3 # This Koha test module is a stub!
4 # Add more tests here!!!
6 use strict;
7 use warnings;
9 use Test::More tests => 3;
11 BEGIN {
12 use_ok('C4::Heading');
15 my $field = MARC::Field->new( '650', ' ', '0', a => 'Uncles', x => 'Fiction' );
16 my $heading = C4::Heading->new_from_bib_field($field);
17 is($heading->display_form(), 'Uncles--Fiction', 'Display form generation');
18 is($heading->search_form(), 'Uncles generalsubdiv Fiction', 'Search form generation');