From 1d174aef6df93bdefbbd4237a4ca4fe7302fbd9a 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 --- 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 030c5093e21..d5ddf5ed752 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.25.1