From 27831fe44293b9503da082739c16dd31f5de87db Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 10 Jun 2020 10:50:05 +0200 Subject: [PATCH] Bug 25538: Don't run search_utf8.t if KOHA_*_URL empty Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi Signed-off-by: Jonathan Druart (cherry picked from commit 7c4d2444057dd2f8ae613ad73328f880258810c7) Signed-off-by: Lucas Gass (cherry picked from commit d1f60037b9d390c4d91bee61b06b7dfda368f3c1) Signed-off-by: Aleisha Amohia --- t/db_dependent/www/search_utf8.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/www/search_utf8.t b/t/db_dependent/www/search_utf8.t index 85a227a053..859b0114a9 100644 --- a/t/db_dependent/www/search_utf8.t +++ b/t/db_dependent/www/search_utf8.t @@ -67,11 +67,11 @@ my $opac = $ENV{KOHA_OPAC_URL}; # test KOHA_INTRANET_URL is set -if ( not defined $intranet ) { +if ( not $intranet ) { plan skip_all => "Tests skip. You must set env. variable KOHA_INTRANET_URL to do tests\n"; } # test KOHA_OPAC_URL is set -elsif ( not defined $opac ) { +elsif ( not $opac ) { plan skip_all => "Tests skip. You must set env. variable KOHA_OPAC_URL to do tests\n"; } else { -- 2.20.1