From 9c1f70a353d07f70db92903427a791b0667d1af5 Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Tue, 29 Oct 2024 11:00:35 +0000 Subject: [PATCH] Bug 35659: (QA follow-up) Fix t/db_dependent/Koha/OAIHarvester.t - OPACBaseURL must be set correctly. Signed-off-by: Katrin Fischer --- t/db_dependent/Koha/OAIHarvester.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/OAIHarvester.t b/t/db_dependent/Koha/OAIHarvester.t index 2bb3cc7741..7aa0886bca 100755 --- a/t/db_dependent/Koha/OAIHarvester.t +++ b/t/db_dependent/Koha/OAIHarvester.t @@ -42,7 +42,7 @@ $schema->storage->txn_begin; my $new_oai_biblio = Koha::OAIServer->new( { - endpoint => C4::Context->preference('OPACBaseURL') . '/cgi-bin/koha/oai.pl', + endpoint => ( $ENV{KOHA_OPAC_URL} || C4::Context->preference('OPACBaseURL') ) . '/cgi-bin/koha/oai.pl', oai_set => '', servername => 'my_test_1', dataformat => 'oai_dc', -- 2.39.5