Bug 16423: [QA Follow-up] Remove $opac
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 3 May 2016 15:04:32 +0000 (17:04 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 3 May 2016 15:33:00 +0000 (15:33 +0000)
It is not used. And even may raise an uninitialized warnings.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Test still passes :)

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/www/batch.t

index 0390cf7..71fce09 100644 (file)
@@ -44,7 +44,6 @@ my $file =
 my $user     = $ENV{KOHA_USER} || $xml->{config}->{user};
 my $password = $ENV{KOHA_PASS} || $xml->{config}->{pass};
 my $intranet = $ENV{KOHA_INTRANET_URL};
-my $opac     = $ENV{KOHA_OPAC_URL};
 
 BAIL_OUT("You must set the environment variable KOHA_INTRANET_URL to ".
          "point this test to your staff client. If you do not have ".
@@ -52,7 +51,6 @@ BAIL_OUT("You must set the environment variable KOHA_INTRANET_URL to ".
          "your username and password") unless $intranet;
 
 $intranet =~ s#/$##;
-$opac     =~ s#/$##;
 
 my $agent = Test::WWW::Mechanize->new( autocheck => 1 );
 my $jsonresponse;