Koha/t/Koha/Z3950responder.t
Jonathan Druart f1f9c6dc74 Bug 26384: Fix executable flags
.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>
2020-09-11 09:56:56 +02:00

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' );