From a2e3890412d5acd6f3dda1d882b37368d5572a22 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Tue, 3 May 2016 17:04:32 +0200 Subject: [PATCH] Bug 16423: [QA Follow-up] Remove $opac Content-Type: text/plain; charset=utf-8 It is not used. And even may raise an uninitialized warnings. Signed-off-by: Marcel de Rooy Test still passes :) --- t/db_dependent/www/batch.t | 2 -- 1 file changed, 2 deletions(-) diff --git a/t/db_dependent/www/batch.t b/t/db_dependent/www/batch.t index 0390cf7..71fce09 100644 --- a/t/db_dependent/www/batch.t +++ b/t/db_dependent/www/batch.t @@ -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; -- 1.7.10.4