From 0dd2fbabae00c2e7b7478d4e519ba7a5636c765f 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 --- 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 85a227a0539..859b0114a93 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.27.0