Bugzilla – Attachment 44095 Details for
Bug 10933
Merge PurgeSearchHistory into the C4::Search::History module
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ug 10933: (follow-up of the follow-up) fix the previous patch to work with master
ug-10933-follow-up-of-the-follow-up-fix-the-previo.patch (text/plain), 1.08 KB, created by
Jonathan Druart
on 2015-10-27 16:06:02 UTC
(
hide
)
Description:
ug 10933: (follow-up of the follow-up) fix the previous patch to work with master
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-10-27 16:06:02 UTC
Size:
1.08 KB
patch
obsolete
>From f828563763f7112aa590e2a193e14e5218f478e7 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 10933
:
21364
|
22058
|
27452
|
28022
|
42114
|
42116
|
43786
|
43787
| 44095