|
Lines 16-28
Link Here
|
| 16 |
# along with Koha; if not, see <http://www.gnu.org/licenses>. |
16 |
# along with Koha; if not, see <http://www.gnu.org/licenses>. |
| 17 |
|
17 |
|
| 18 |
use Modern::Perl; |
18 |
use Modern::Perl; |
| 19 |
use Test::More tests => 9; |
19 |
use Test::More tests => 12; |
| 20 |
use Net::Z3950::ZOOM; |
20 |
use Net::Z3950::ZOOM; |
| 21 |
|
21 |
|
| 22 |
use t::lib::Mocks; |
22 |
use t::lib::Mocks; |
| 23 |
|
23 |
|
| 24 |
use C4::Search qw( buildQuery ); |
24 |
use C4::Search qw( buildQuery ); |
| 25 |
|
25 |
|
|
|
26 |
use_ok( 'C4::Search', qw( buildQuery ) ); |
| 27 |
can_ok( |
| 28 |
'C4::Search', |
| 29 |
qw/buildQuery/ |
| 30 |
); |
| 31 |
use_ok("Net::Z3950::ZOOM"); |
| 32 |
|
| 26 |
#FIXME: would it be better to use our real ccl.properties file? |
33 |
#FIXME: would it be better to use our real ccl.properties file? |
| 27 |
sub _get_ccl_properties { |
34 |
sub _get_ccl_properties { |
| 28 |
my $config = q( |
35 |
my $config = q( |
| 29 |
- |
|
|