Bugzilla – Attachment 51112 Details for
Bug 10171
Add a header in Advanced Search (staff interface)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10171: (QA followup) Make search tests use the right form
Bug-10171-QA-followup-Make-search-tests-use-the-ri.patch (text/plain), 1.58 KB, created by
Tomás Cohen Arazi (tcohen)
on 2016-05-02 18:50:31 UTC
(
hide
)
Description:
Bug 10171: (QA followup) Make search tests use the right form
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2016-05-02 18:50:31 UTC
Size:
1.58 KB
patch
obsolete
>From a7082da42769589dca4f514411223897e55f6936 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 2 May 2016 15:47:03 -0300 >Subject: [PATCH] Bug 10171: (QA followup) Make search tests use the right form > >This bug removed the search tab from the main search box, so the tests >that use /cgi-bin/koha/catalogue/search.pl for searching, should use >the advanced search box instead. > >To test: >- Run > $ prove t/db_dependent/www/search_utf8.t >=> FAIL: Several tests related to searching on the intranet interface fail. >- Apply the patch >- Run > $ prove t/db_dependent/www/search_utf8.t >=> SUCCESS: Tests pass >- Be happy > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > t/db_dependent/www/search_utf8.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/www/search_utf8.t b/t/db_dependent/www/search_utf8.t >index 851850c..7a10888 100644 >--- a/t/db_dependent/www/search_utf8.t >+++ b/t/db_dependent/www/search_utf8.t >@@ -233,7 +233,7 @@ sub test_search{ > > > $agent->get_ok( "$intranet/cgi-bin/koha/catalogue/search.pl" , "got search on intranet"); >- $agent->form_number(1); >+ $agent->form_number(5); > $agent->field('idx', 'kw'); > $agent->field('q', $search_key); > $agent->click(); >@@ -241,7 +241,7 @@ sub test_search{ > like( $intra_text, qr|Publisher: $publisher|, ); > > $agent->get_ok( "$intranet/cgi-bin/koha/catalogue/search.pl" , "got search on intranet"); >- $agent->form_number(1); >+ $agent->form_number(5); > $agent->field('idx', 'kw'); > $agent->field('q', $publisher); > $agent->click(); >-- >2.7.4
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 10171
:
50783
|
50858
|
50859
|
50874
|
50875
|
50906
|
50907
|
51112
|
51184