From f828563763f7112aa590e2a193e14e5218f478e7 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 27 Oct 2015 16:05:36 +0000 Subject: [PATCH] ug 10933: (follow-up of the follow-up) fix the previous patch to work with master --- 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 6c067b3..9bf14ad 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.1.0