From 7bde40a2d5de2db4213f57716ea852be167fe89a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 27 Oct 2015 16:05:36 +0000 Subject: [PATCH] Bug 10933: (followup of the followup) fix the previous patch to work with master Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Search/History.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Search/History.t b/t/db_dependent/Search/History.t index 6c067b3fee..9bf14adcaf 100644 --- a/t/db_dependent/Search/History.t +++ b/t/db_dependent/Search/History.t @@ -125,7 +125,7 @@ delete_all( $userid ); add( $userid, $current_sessionid, $previous_sessionid, $total, $query_cgi_b, $query_cgi_a ); warning_like { C4::Search::History::delete({}) } - qr/^ERROR: userid or id is required for history deletion/, + qr/^ERROR: userid, id or interval is required for history deletion/, 'Calling delete without userid raises warning'; $all = C4::Search::History::get({userid => $userid}); is( scalar(@$all), 9, 'There are still 9 searches after calling delete without userid' ); -- 2.20.1