1 package KohaTest::Biblio::GetNoZebraIndexes;
2 use base qw( KohaTest::Biblio );
11 =head2 STARTUP METHODS
13 These get run once, before the main test methods in this module
26 sub returns_expected_hashref : Test(2) {
29 my %nzi = C4::Biblio::GetNoZebraIndexes();
30 ok( scalar keys %nzi, 'got some keys from GetNoZebraIndexes' );
33 'title' => '130a,210a,222a,240a,243a,245a,245b,246a,246b,247a,247b,250a,250b,440a,830a',
34 'author' => '100a,100b,100c,100d,110a,111a,111b,111c,111d,245c,700a,710a,711a,800a,810a,811a',
38 'biblionumber' => '999c',
40 'publisher' => '260b',
42 'note' => '500a,501a,504a,505a,508a,511a,518a,520a,521a,522a,524a,526a,530a,533a,538a,541a,546a,555a,556a,562a,563a,583a,585a,582a',
43 'subject' => '600*,610*,611*,630*,650*,651*,653*,654*,655*,662*,690*',
47 'an' => '6009,6109,6119',
48 'homebranch' => '952a,952c'
50 is_deeply( \%nzi, \%expected, 'GetNoZebraIndexes returns the expected hashref' );
55 These methods are used by other test methods, but
56 are not meant to be called directly.
63 =head2 SHUTDOWN METHODS
65 These get run once, after the main test methods in this module