Bug 21105: (follow-up) Regression tests

Mock KohaAdminEmailAddress in case it differs from the default value

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-11-15 11:44:14 +01:00
parent de75673d8a
commit a6ef152db9
1 changed files with 1 additions and 0 deletions

View File

@ -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' },