Bug 30153: (QA follow-up) Fix unit tests

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Martin Renvoize 2022-02-22 16:28:19 +00:00 committed by Kyle Hall
parent eebfe5005a
commit fa24b608c1
1 changed files with 1 additions and 1 deletions

View File

@ -946,7 +946,7 @@ subtest 'FindDuplicate' => sub {
t::lib::Mocks::mock_preference('searchEngine', $engine );
warning_is { C4::Search::FindDuplicate($record_1);}
q/ti,ext:"The night circus \/" and au,ext:"Morgenstern, Erin"/,"Term correctly formed and passed to $engine";
q/ti,ext:"The night circus \/" AND au,ext:"Morgenstern, Erin"/,"Term correctly formed and passed to $engine";
warning_is { C4::Search::FindDuplicate($record_2);}
q/ti,ext:"The book of nothing \/"/,"Term correctly formed and passed to $engine";