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:
parent
eebfe5005a
commit
fa24b608c1
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Reference in New Issue