Jonathan Druart
f1f9c6dc74
.pm must not have -x .t must have -x .pl must have -x Test plan: Apply only the first patch, run the tests and confirm that the failures make sense Apply this patch and confirm that the test now returns green Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
14 lines
276 B
Perl
Executable file
14 lines
276 B
Perl
Executable file
#!/usr/bin/perl
|
|
|
|
use Modern::Perl;
|
|
use Test::More tests => 2;
|
|
|
|
BEGIN {
|
|
use_ok('Koha::Z3950Responder');
|
|
}
|
|
|
|
my $zR = Koha::Z3950Responder->new({});
|
|
|
|
my $args = { PEER_NAME => 'PEER' };
|
|
$zR->init_handler($args);
|
|
is ( $args->{IMP_NAME}, 'Koha', 'Server returns basic info' );
|