Browse Source

Bug 22943: Remove unused line from Auth.t

Removes an unnecessary variable declaration from Auth.t

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
20.05.x
Katrin Fischer 4 years ago
committed by Martin Renvoize
parent
commit
ea7ec1a5d3
Signed by: martin.renvoize GPG Key ID: 422B469130441A0F
  1. 1
      t/Auth.t

1
t/Auth.t

@ -22,7 +22,6 @@ use Test::Warn;
use C4::Auth qw / in_iprange /; use C4::Auth qw / in_iprange /;
$ENV{REMOTE_ADDR} = '192.168.1.30'; $ENV{REMOTE_ADDR} = '192.168.1.30';
my $ipset1 = "192.168.1.30";
ok(in_iprange("192.168.1.30"), 'simple single ip matching remote ip'); ok(in_iprange("192.168.1.30"), 'simple single ip matching remote ip');
ok(!in_iprange("192.168.1.31"), 'simple single ip not match remote ip'); ok(!in_iprange("192.168.1.31"), 'simple single ip not match remote ip');

Loading…
Cancel
Save