Bug 14585: Fixing up online help on main page
[koha.git] / t / Search_PazPar2.t
blob5af0ac47633ca551c50073e10c5c088fb4406cdc
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 => 8;
11 BEGIN {
12 use_ok('C4::Search::PazPar2');
15 my $obj = C4::Search::PazPar2->new();
16 ok ($obj, "testing new works");
17 is ($obj->init(), "1", "testing init returns '1' when given no arguments");
18 is ($obj->search(), "1", "testing search returns '1' when given no arguments");
19 is ($obj->stat(), undef, "testing stat returns undef when given no arguments");
20 is ($obj->show(), undef, "testing show returns undef when given no arguments");
21 is ($obj->record(), undef, "testing record returns undef when given no arguments");
22 is ($obj->termlist(), undef, "testing termlist returns undef when given no arguments");