From 95d27e1f62bd65af2a734cf240c1de86b39c0cb6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 15 Nov 2021 11:44:14 +0100 Subject: [PATCH] Bug 21105: (follow-up) Regression tests Mock KohaAdminEmailAddress in case it differs from the default value Signed-off-by: Jonathan Druart Signed-off-by: Kyle M Hall --- t/db_dependent/OAI/Server.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/db_dependent/OAI/Server.t b/t/db_dependent/OAI/Server.t index b26a181621..5de62834f2 100755 --- a/t/db_dependent/OAI/Server.t +++ b/t/db_dependent/OAI/Server.t @@ -614,6 +614,7 @@ subtest 'Tests for timestamp handling' => sub { $get_no_items, { GetRecord => $expected_no_items } ); + t::lib::Mocks::mock_preference('KohaAdminEmailAddress', 'root@localhost'); test_query( 'Identify - earliestDatestamp in the right format', { verb => 'Identify' }, -- 2.39.2